Name Description Size
__init__.py 239
actions.py 12379
base.py Remove the scheme and netloc from a url, leaving only the path and any query or fragment. url - the url to strip e.g. http://example.org:8000/tests?id=1#2 becomes /tests?id=1#2 30751
executorchrome.py Implementation of `testharness.js` tests controlled by ChromeDriver. The main difference from the default WebDriver testharness implementation is that the test window can be reused between tests for better performance. 10243
executorcontentshell.py Reads a single line from the io queue. The read must succeed before `deadline` or a TimeoutError is raised. The line is returned as a bytestring or optionally with the specified `encoding`. If `raise_crash_leak` is set, a CrashError is raised if the line happens to be a crash message, or a LeakError is raised if the line happens to be a leak message. 13129
executoredge.py 3447
executormarionette.py Switch to the specified window; subsequent commands will be directed at the new window. This is a workaround for issue 24924[0]; marionettedriver 3.1.0 dropped the 'name' parameter from its switch_to_window command, but it is still needed for at least Firefox 79. [0]: https://github.com/web-platform-tests/wpt/issues/24924 :param marionette: The Marionette instance :param handle: The id of the window to switch to. 54191
executorselenium.py let callback = arguments[arguments.length - 1]; addEventListener("__test_restart", e => {e.preventDefault(); callback(true)}) 16830
executorservo.py 13529
executorservodriver.py Connect to browser via WebDriver. 10093
executorwebdriver.py let callback = arguments[arguments.length - 1]; addEventListener("__test_restart", e => {e.preventDefault(); callback(true)}) 28306
executorwktr.py Reads a single line from the io queue. The read must succeed before `deadline` or a TimeoutError is raised. The line is returned as a bytestring or optionally with the specified `encoding`. If `raise_crash` is set, a CrashError is raised if the line happens to be a crash message. 9691
process.py 600
protocol.py Backend for a specific browser-control protocol. Each Protocol is composed of a set of ProtocolParts that implement the APIs required for specific interactions. This reflects the fact that not all implementaions will support exactly the same feature set. Each ProtocolPart is exposed directly on the protocol through an accessor attribute with a name given by its `name` property. :param Executor executor: The Executor instance that's using this Protocol :param Browser browser: The Browser using this protocol 22367
pytestrunner
reftest.js 83
runner.js 30
test-wait.js 1552
testharness_servodriver.js 130
testharness_webdriver_resume.js 302
window-loaded.js 174