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:574–582 ·
view source on GitHub ↗
(onSkip, onRun)
Source
from the content-addressed store, hash-verified
572
return
{ describe, it }
573
574
function
wrap(onSkip, onRun) {
575
return
function
(...args) {
576
if
(predicateFn()) {
577
onSkip(...args)
578
}
else
{
579
onRun(...args)
580
}
581
}
582
}
583
}
584
585
/**
Callers
1
ignore
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected