Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ wrap
Function
wrap
javascript/selenium-webdriver/testing/index.js:600–608 ·
view source on GitHub ↗
(onSkip, onRun)
Source
from the content-addressed store, hash-verified
598
return
{ describe, it }
599
600
function
wrap(onSkip, onRun) {
601
return
function
(...args) {
602
if
(predicateFn()) {
603
onSkip(...args)
604
}
else
{
605
onRun(...args)
606
}
607
}
608
}
609
}
610
611
/**
Callers
1
ignore
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected