__init__.py |
|
239 |
actions.py |
|
19186 |
asyncactions.py |
:param context: Either a string representing the browsing context id, or a
BiDi serialized window proxy object. In the latter case, the value is
extracted from the serialized object.
:return: The browsing context id.
|
10328 |
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 |
35671 |
executorchrome.py |
Find the test window amongst all the open windows.
This is assumed to be either the named window or the one after the parent in the list of
window handles
:param window_id: The DOM name of the Window
:param parent: The handle of the current window
:param timeout: The time in seconds to wait for the window to appear. This is because in
some implementations there's a race between calling window.open and the
window being added to the list of WebDriver accessible windows. |
13504 |
executoredge.py |
|
2300 |
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.
|
56720 |
executorselenium.py |
let callback = arguments[arguments.length - 1];
addEventListener("__test_restart", e => {e.preventDefault(); callback(true)}) |
16945 |
executorservo.py |
|
12975 |
executorservodriver.py |
Connect to browser via WebDriver and crete a WebDriver session. |
4899 |
executorwebdriver.py |
let callback = arguments[arguments.length - 1];
addEventListener("__test_restart", e => {e.preventDefault(); callback(true)}) |
57750 |
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.
|
9696 |
message-queue.js |
This function handles the next testdriver event. The presence of
window.testdriver_callback is used as a switch; when that function
is present we are able to handle the next event and when is is not
present we must wait. Therefore to drive the event processing, this
function must be called in two circumstances:
Every time there is a new event that we may be able to handle
Every time we set the callback function
This function unsets the callback, so no further testdriver actions
will be run until it is reset, which wptrunner does after it has
completed handling the current action.
|
2376 |
process.py |
|
615 |
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 |
38668 |
pytestrunner |
|
|
reftest.js |
|
83 |
runner.js |
|
30 |
test-wait.js |
|
2242 |
testharness_servodriver.js |
|
130 |
testharness_webdriver_resume.js |
|
305 |
window-loaded.js |
|
174 |