diff --git a/index.html b/index.html index 81c20523..1c18da9f 100644 --- a/index.html +++ b/index.html @@ -363,7 +363,7 @@
The result of getting a property with name from object is defined as being the same as the result of calling Object.[[\GetOwnProperty]](name) on object. @@ -432,7 +432,7 @@
Let request match be the result of the algorithm to match a request with request’s @@ -462,7 +462,7 @@
null
if there is no such matching session.
If the current session is null
- send an error with error code invalid session id,
+ send an error with error code [= error code/invalid session id=],
then jump to step 1 in this overall algorithm.
If the current session is not null
:
@@ -597,7 +597,7 @@
Write response bytes to the connection. -
A url variable dictionary is defined +
A url variable dictionary is defined as the mapping of a command’s URI template variable names to their corresponding values. @@ -637,14 +637,14 @@
If there are no entries in endpoints, - return error with error code unknown command. + return error with error code [= error code/unknown command =].
Remove each entry in endpoints for which the method column is not equal to method.
If there are no entries in endpoints, - return error with error code unknown method. + return error with error code [= error code/unknown method =].
There is now exactly one entry in endpoints; let entry be this entry. @@ -1093,7 +1093,7 @@
The following table lists each error code, +
The following table lists each error code,
its associated HTTP status,
JSON error
code,
and a non-normative description of the error.
@@ -1110,7 +1110,7 @@
element click intercepted
element not interactable
insecure certificate
invalid cookie domain
invalid element state
invalid selector
invalid session id
javascript error
move target out of bounds
no such alert
no such cookie
no such element
no such frame
no such window
no such shadow root
script timeout
session not created
stale element reference
detached shadow root
timeout
unable to set cookie
unable to capture screen
unexpected alert open
unknown command
unknown error
unknown method
unsupported operation
Commands defined in this way - are called extension commands + are called extension commands and behave no differently than other commands; each has a dedicated HTTP endpoint and a set of remote end steps. @@ -2295,7 +2295,7 @@
The New Session command creates a new WebDriver session with the endpoint node. -If the creation fails, a session not created error is returned. +If the creation fails, a [= error code/session not created =] error is returned.
If the remote end is an intermediary node, it may use the result of the capabilities processing algorithm @@ -2356,11 +2356,11 @@
If the maximum active sessions is equal to the length of the list of active sessions, - return error with error code session not created. + return error with error code [= error code/session not created =].
If the remote end is an intermediary node, take
implementation-defined steps that either result in returning
- an error with error code session not created,
+ an error with error code [= error code/session not created =],
or in returning a success with data that is isomorphic to
that returned by remote ends according to the rest of this
algorithm. If an error is not returned, the intermediary
@@ -2376,14 +2376,14 @@ If the maximum active sessions is equal to
the length of the list of active sessions,
- return error with error code session not created.
+ return error with error code [= error code/session not created =].
Let capabilities be the result
of trying to process capabilities
with parameters as an argument.
If capabilities’s is Let session id be the result of generating a UUID.
@@ -2437,7 +2437,7 @@ Take implementation-defined steps to set the user agent proxy
using the extracted proxy configuration. If the
defined proxy cannot be configured return error with
- error code session not created. Navigation actions are also affected by the value of
the session page load timeout,
which determines the maximum time that commands will block
- before returning with a timeout error.
+ before returning with a [= error code/timeout =] error.
The following is the table of page load strategies
that links the If the current browsing context is no longer open,
+ If the current browsing context is [= browsing context/no longer open =],
return success with data Start a timer. If this algorithm has not
completed before timer reaches
the session’s session page load timeout in
milliseconds, return an error with error
- code timeout.
+ codeNew Sessio
[= error code/timeout =].
null
,
- return error with error code session not created.
+ return error with error code [= error code/session not created =].
New Sessio
Navigation
pageLoadStrategy
capability keyword
@@ -2842,14 +2842,14 @@ Navigation
has a page loading strategy of none,
return success with data null
.
- null
.
If there is an ongoing attempt to navigate the current browsing context that has not @@ -2869,7 +2869,7 @@
If the previous step completed by the session page load timeout being reached and the browser does not have an active user prompt, - return error with error code timeout. + return error with error code [= error code/timeout =].
Return error with error code unknown error. +
Return error with error code [= error code/unknown error =].
A "network error" in this case is not an HTTP response with a status code indicating an unsuccessful result, but could be a problem occurring lower in the OSI model, or a @@ -2893,7 +2893,7 @@
Otherwise return error with error code insecure certificate. +
Otherwise return error with error code [= error code/insecure certificate =].
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Let url be the result of
getting the property url
@@ -2959,7 +2959,7 @@
Navigate the current top-level browsing context to url. @@ -3002,8 +3002,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3038,8 +3038,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3054,7 +3054,7 @@
If the previous step completed by the session page load timeout being reached, and user prompts have been handled, return error - with error code timeout. + with error code [= error code/timeout =].
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3099,7 +3099,7 @@
If the previous step completed by the session page load timeout being reached, and user prompts have been handled, return error - with error code timeout. + with error code [= error code/timeout =].
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3169,8 +3169,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3203,7 +3203,7 @@
A browsing context is said to be no longer open +
A browsing context is said to be no longer open if its navigable has been destroyed.
Each browsing context has an associated @@ -3281,8 +3281,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Return success with data being the window handle associated with the current top-level browsing context. @@ -3306,8 +3306,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3353,7 +3353,7 @@
If there is an active user prompt, that prevents the focusing of another top-level browsing context, - return error with error code unexpected alert open. + return error with error code [=error code/unexpected alert open=].
If handle is equal to the associated window handle for some top-level browsing context in @@ -3361,7 +3361,7 @@
Otherwise, return error with error code no such window. +
Otherwise, return error with error code [=error code/no such window=].
Update any implementation-specific state that would result from the user selecting the current browsing context for @@ -3427,10 +3427,10 @@
If the implementation does not support creating new top-level browsing contexts, return error with error code - unsupported operation. + [= error code/unsupported operation =]. -
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3513,9 +3513,9 @@
null
If the current top-level browsing context is no - longer open, return error with error code no - such window. +
If the current top-level browsing context is + [= browsing context/no longer open =], return error + with error code [= error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3530,9 +3530,9 @@
If id is less than 0 or greater than 216 – 1, return error with error code invalid argument. -
If the current browsing context is no - longer open, return error with error code no - such window. +
If the current browsing context is + [= browsing context/no longer open =], return error + with error code [= error code/no such window =].
Handle any user prompts and return its value if it is an error. @@ -3542,7 +3542,7 @@
If id is not a supported property index of window, - return error with error code no such frame. + return error with error code [= error code/no such frame =].
Let child window be
the WindowProxy
object obtained by
@@ -3557,9 +3557,9 @@
If the current browsing context is no - longer open, return error with error code no - such window. +
If the current browsing context is + [= browsing context/no longer open =], return error + with error code [= error code/no such window =].
Handle any user prompts and return its value if it is an error. @@ -3570,7 +3570,7 @@
If element is not a [^frame^] or [^iframe^] element, - return error with error code no such frame. + return error with error code [= error code/no such frame =].
Set the current browsing context
with element’s nested navigable's active
@@ -3615,15 +3615,15 @@ Switch To Parent Frame
top-level browsing context:
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no + longer open=], return error with error code [= error code/no + such window =].
If the current parent browsing context is no longer - open, return error with error code no such - window. +
If the current parent browsing context is [= browsing context/no + longer open=], return error with error code [= error code/no + such window =].
Handle any user prompts and return its value if it is an error. @@ -3650,7 +3650,7 @@
The top-level browsing context has an associated window state @@ -3784,8 +3784,8 @@
The remote end steps are:
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3843,10 +3843,10 @@
If the remote end does not support the Set Window Rect command for the current top-level browsing context for any reason, - return error with error code unsupported operation. + return error with error code [= error code/unsupported operation =]. -
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3945,10 +3945,10 @@
If the remote end does not support the Maximize Window command for the current top-level browsing context for any reason, - return error with error code unsupported operation. + return error with error code [= error code/unsupported operation =]. -
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -3990,10 +3990,10 @@
If the remote end does not support the Minimize Window command for the current top-level browsing context for any reason, - return error with error code unsupported operation. + return error with error code [= error code/unsupported operation =]. -
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -4025,10 +4025,10 @@
If the remote end does not support fullscreen - return error with error code unsupported operation. + return error with error code [= error code/unsupported operation =]. -
If the current top-level browsing context is no longer open, - return error with error code no such window. +
If the current top-level browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -4125,10 +4125,10 @@
DOMException
, SyntaxError
,
XPathException
, or other error occurs during the
execution of the element location strategy, return error
- invalid selector.
+ [= error code/invalid selector =].
If elements returned is empty and the current time is less than end time return to step 4. Otherwise, @@ -4567,7 +4567,7 @@
Return success with data elements.
Let elements be the result of calling
{{ParentNode/querySelectorAll()}} with start node as this
and "a
" as the argument. If this throws an exception,
- return error with error code unknown error.
+ return error with error code [= error code/unknown error =].
Let result be an empty {{NodeList}}. @@ -4625,7 +4625,7 @@
Let elements be the result of calling
{{ParentNode/querySelectorAll()}} with start node as this
and "a
" as the argument. If this throws an exception,
- return error with error code unknown error.
+ return error with error code [= error code/unknown error =].
Let result be an empty {{NodeList}}. @@ -4679,9 +4679,9 @@
snapshotLength
"
from evaluateResult. If this throws
an XPathException return error with error
- code invalid selector, otherwise if this throws any other
- exception return error with error code unknown
- error.
+ code [= error code/invalid selector =], otherwise if this throws any other
+ exception return error with error code [= error code/unknown
+ error=].
Let result be an empty {{NodeList}}. @@ -4693,7 +4693,7 @@
If node is not an element return an error - with error code invalid selector. + with error code [= error code/invalid selector =].
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -4764,14 +4764,14 @@
If start node is null
,
- return error with error code no such element.
+ return error with error code [= error code/no such element =].
Let result be the result of trying to Find with start node, location strategy, and selector.
If result is empty, return error - with error code no such element. Otherwise, return the + with error code [= error code/no such element =]. Otherwise, return the first element of result.
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -4816,7 +4816,7 @@
If start node is null
,
- return error with error code no such element.
+ return error with error code [= error code/no such element =].
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -4868,7 +4868,7 @@
If result is empty, return error - with error code no such element. Otherwise, return the + with error code [= error code/no such element =]. Otherwise, return the first element of result.
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -4948,9 +4948,9 @@
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -4963,7 +4963,7 @@
If result is empty, return error - with error code no such element. Otherwise, return the + with error code [= error code/no such element =]. Otherwise, return the first element of result.
If selector is undefined, return error with error code invalid argument. -
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -5030,9 +5030,9 @@
The remote end steps are:
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -5043,7 +5043,7 @@
Otherwise, return error with error code no such element. +
Otherwise, return error with error code [= error code/no such element =].
The remote end steps are:
If the current browsing context is no longer - open, return error with error code no such - window. +
If the current browsing context is [= browsing context/no longer + open=], return error with error code [= error code/no such + window =].
Handle any user prompts and return its value if it is an error. @@ -5077,7 +5077,7 @@
Let shadow root be element's shadow root.
If shadow root is null, return error - with error code no such shadow root. + with error code [= error code/no such shadow root =].
Let serialized be the shadow root reference object for shadow root. @@ -5181,8 +5181,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5229,8 +5229,8 @@
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5281,8 +5281,8 @@
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5318,8 +5318,8 @@
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5384,8 +5384,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5421,8 +5421,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5485,8 +5485,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5537,8 +5537,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5578,8 +5578,8 @@
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5612,8 +5612,8 @@
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5689,16 +5689,16 @@
If the element’s center point is obscured by another element, -an element click intercepted error is returned. +an [= error code/element click intercepted =] error is returned. If the element is outside the viewport, -an element not interactable error is returned. +an [= error code/element not interactable =] error is returned.
The remote end steps are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5712,11 +5712,11 @@
Scroll into view the element’s container.
If element’s container is still not in view, - return error with error code element not interactable. + return error with error code [= error code/element not interactable =].
If element’s container is obscured by another element, - return error with error code element click intercepted. + return error with error code [= error code/element click intercepted =].
Matching on element: @@ -5857,7 +5857,7 @@
To clear a content editable element: +
To clear a content editable element:
If element’s innerHTML
IDL attribute
@@ -5902,8 +5902,8 @@
The remote end steps for Element Clear are:
If the current browsing context is no longer open, - return error with error code no such window. +
If the current browsing context is [= browsing context/no longer open =], + return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error. @@ -5912,7 +5912,7 @@
If element is not editable, - return an error with error code invalid element state. + return an error with error code [= error code/invalid element state =].
Scroll into view the element. @@ -5921,7 +5921,7 @@
If element is not interactable, - return error with error code element not interactable. + return error with error code [= error code/element not interactable =].
Run the substeps of the first matching statement: @@ -5933,7 +5933,7 @@
Invoke the steps to clear a content editable element.
Return error with error code invalid element state. +
Return error with error code [= error code/invalid element state =].
Return success with data null
.
@@ -5959,7 +5959,7 @@
A non-typeable form control @@ -5991,7 +5991,7 @@
To clear the modifier key state given input
+ To clear the modifier key state given input
state, input id, source, undo
actions, and browsing context:
@@ -6026,7 +6026,7 @@ The shifted state for keyboard is the value
of keyboard’s To dispatch the events for a typeable string
+ To dispatch the events for a typeable string
given input state, input id, source,
text, and browsing context:
@@ -6088,7 +6088,7 @@ Element Send Keys
shift
property.
-Element Send Keys
When required to dispatch a composition event +
When required to dispatch a composition event
given type and cluster, and browsing
context, the remote end must perform
implementation-specific action dispatch steps on browsing
@@ -6114,7 +6114,7 @@ To dispatch actions for a string given input
+ To dispatch actions for a string given input
state, input id, source,
text, and browsing context:
@@ -6223,8 +6223,8 @@ If text is not a String,
return an error with error code invalid argument.
- If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -6246,7 +6246,7 @@ If element is not keyboard-interactable,
- return error with error code element not interactable.
+ return error with error code [= error code/element not interactable =].
If element is not the active element run
the focusing steps for the element.
@@ -6296,11 +6296,11 @@ If element does not have an own property
named If element is not mutable return
- an error with error code element not
- interactable.
+ an error with error code [= error code/element not
+ interactable =].
Set a property The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts and return its value if it is an error.
@@ -6493,14 +6493,14 @@ If the element is stale,
- return error with error code stale element reference.
+ return error with error code [= error code/stale element reference =].
Otherwise return success with data set to the web
element reference object for value.
If the shadow root is detached,
- return error with error code detached shadow root.
+ return error with error code [= error code/detached shadow root =].
Otherwise return success with data set to the shadow
root reference object for value.
@@ -6509,7 +6509,7 @@ If the associated browsing context
of the Otherwise return success with data set
to If value is in seen,
- return error with error code javascript error.
+ return error with error code [= error code/javascript error =].
Append value to seen.
@@ -6569,7 +6569,7 @@ Let source property value be the result of
getting a property named name from value.
If doing so causes script to be run and that script throws an error,
- return error with error code javascript error.
+ return error with error code [= error code/javascript error =].
Let cloned property result be the result of
calling the clone algorithm with arguments
@@ -6698,8 +6698,8 @@ If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -6728,7 +6728,7 @@ Upon rejection of promise with reason r,
let result be a JSON clone of r, and
- return error with error code javascript error
+ return error with error code [= error code/javascript error =]
and data result.
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -6818,7 +6818,7 @@ Upon rejection of promise with reason r,
let result be a JSON clone of r, and
- return error with error code javascript error
+ return error with error code [= error code/javascript error =]
and data result.
The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -7041,8 +7041,8 @@ The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -7053,7 +7053,7 @@ Otherwise, return error
- with error code no such cookie.
+ with error code [= error code/no such cookie =].
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
If the current browsing context’s document element
is a cookie-averse If cookie name or cookie value is If there is an error during this step,
- return error with error code unable to set cookie.
+ return error with error code [= error code/unable to set cookie =].
Return success with data The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -7187,8 +7187,8 @@ The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Handle any user prompts, and return its value if it is an error.
@@ -7548,7 +7548,7 @@ To get the input state given session
+ To get the input state given session
and browsing context:
To reset the input state given session
+ To reset the input state given session
and browsing context:
Element Send Keys
-Element Send Keys
Element Send Keys
become keyboard-interactable.
Element Send Keys
value
return an error with error
- code element not interactable
+ code [= error code/element not interactable =]
value
to text
on element.
@@ -6381,8 +6381,8 @@ Get Page Source
-
@@ -7003,8 +7003,8 @@ Executing Script
Executing Script
WindowProxy
object
in value has been destroyed,
- return error with error code stale element reference.
+ return error with error code [= error code/stale element reference =].
WindowProxy
reference object
@@ -6525,7 +6525,7 @@ Executing Script
@@ -6761,8 +6761,8 @@ Executing Script
Execute Script
trying to extract the script arguments from a request
with argument parameters.
- Execute Script
Execute Async Script
extract the script arguments from a request with
argument parameters.
- Execute Async Script
Get All Cookies
-
Get Named Cookie
-
@@ -7082,14 +7082,14 @@ Get Named Cookie
return success with the serialized cookie as data.
Add Cookie
listed in the table for cookie conversion,
return error with error code invalid argument.
- Document
object,
- return error with error code invalid cookie domain.
+ return error with error code [= error code/invalid cookie domain =].
null
,
cookie domain is not equal to
@@ -7133,7 +7133,7 @@ Add Cookie
null
.
@@ -7157,8 +7157,8 @@ Delete Cookie
-
Delete All Cookies
-
Input state
-
@@ -7567,7 +7567,7 @@
Input state
context
@@ -7582,7 +7582,7 @@
].
-Input state
context
To create an input state: +
To create an input state:
Let input state be an input state with @@ -7592,7 +7592,7 @@
Return input state.
To add an input source given input state, +
To add an input source given input state, input id, and source:
To remove an input source given input state, +
To remove an input source given input state, and input id:
Assert: None of the items in input
@@ -7617,7 +7617,7 @@ Input state
To get an input source given input state +
To get an input source given input state and input id:
Return undefined.
To get or create an input source given input
+ To get or create an input source given input
state, type, input id, and
optional subtype:
@@ -7653,7 +7653,7 @@ A global key state is a [=struct=] with items pressed,
altKey, ctrlKey, metaKey, and shiftKey.
- To get the global key state given input state:
+ To get the global key state given input state:
Let input state map be input
@@ -7795,7 +7795,7 @@ To extract an action sequence with
+ To extract an action sequence with
input state, and parameters:
The default pointer parameters consist of an object with
property To process pointer parameters given
+ To process pointer parameters given
parameters data:
-To process a null action given
+To process a null action given
id and action item:
-To process a key action given
+To process a key action given
id and action item: To process a pointer action given id,
+ To process a pointer action given id,
parameters, and action item:
To process a wheel action given
+ To process a wheel action given
id, and action item: To process a pause action given action item,
+ To process a pause action given action item,
and action: Return success with data action.
To process a pointer up or pointer down action
+ To process a pointer up or pointer down action
given action item, and action: Return success with data To process a pointer move action given action
+ To process a pointer move action given action
item, and action: To dispatch actions given input
+ To dispatch actions given input
state, actions by tick, and browsing
context:
@@ -8549,7 +8549,7 @@ Return actions result.
To dispatch actions inner given input
+ To dispatch actions inner given input
state, actions by tick, and browsing
context:
@@ -8586,7 +8586,7 @@ To
- compute the tick duration
+ compute the tick duration
given tick actions: Return max duration.
To dispatch tick actions given input
+ To dispatch tick actions given input
state, tick actions, tick duration,
and browsing context:
@@ -8678,7 +8678,7 @@ To dispatch a list of actions given input
+ To dispatch a list of actions given input
state, actions and browsing context:
- To dispatch a keyUp action given, action
+ To dispatch a keyUp action given, action
object, source,
global key state, tick duration,
and browsing context: To dispatch a pointerDown action given
+ To dispatch a pointerDown action given
action object, input state, global key state,
tick duration, and browsing context:
@@ -9225,7 +9225,7 @@ To dispatch a pointerUp action given, action
+ To dispatch a pointerUp action given, action
object, source,
global key state, tick duration,
and browsing context:
@@ -9274,7 +9274,7 @@ Return success with data To dispatch a pointerMove action given
+ To dispatch a pointerMove action given
action object, source, global key state,
tick duration, and browsing context:
@@ -9327,13 +9327,13 @@ If x is less than 0 or greater than the width of
the viewport in CSS pixels, then
- return error with error code move target out of
- bounds.
+ return error with error code [= error code/move target out of
+ bounds =].
If y is less than 0 or greater than the height of
the viewport in CSS pixels, then
- return error with error code move target out of
- bounds.
+ return error with error code [= error code/move target out of
+ bounds =].
Let duration be equal to
action object’s Return success with data To perform a pointer move given source,
+ To perform a pointer move given source,
global key state, duration, start x,
start y, target x, target y, width,
height, pressure, tangentialPressure,
@@ -9496,7 +9496,7 @@ To dispatch a pointerCancel action given
+ To dispatch a pointerCancel action given
action object, source, global key state,
tick duration, and browsing context:
@@ -9515,7 +9515,7 @@ To dispatch a scroll action given
+ To dispatch a scroll action given
action object, source, global key state,
tick duration, and browsing context:
@@ -9557,13 +9557,13 @@ If x is less than 0 or greater than the width of
the viewport in CSS pixels, then
- return error with error code move target out of
- bounds.
+ return error with error code [= error code/move target out of
+ bounds =].
If y is less than 0 or greater than the height of
the viewport in CSS pixels, then
- return error with error code move target out of
- bounds.
+ return error with error code [= error code/move target out of
+ bounds =].
Let delta x be equal to the Return success with data To perform a scroll given
+ To perform a scroll given
duration, x, y,
target delta x, target delta y,
current delta x and current delta y:
@@ -9710,9 +9710,9 @@ If the current browsing context is no longer
- open, return error with error code no such
- window.
+ If the current browsing context is [= browsing context/no longer
+ open=], return error with error code [= error code/no such
+ window =].
Handle any user prompts. If this results in
an error, return that error.
@@ -9751,8 +9751,8 @@ The remote end steps are:
If the current browsing context is no longer open,
- return error with error code no such window.
+ If the current browsing context is [= browsing context/no longer open =],
+ return error with error code [=error code/no such window=].
Let input state be the result of get the
input state with current session and current
@@ -9788,7 +9788,7 @@ User prompts that are spawned
from An annotated unexpected alert open error
- is an error with error code unexpected alert open
+ is an error with error code [=error code/unexpected alert open=]
and an optional error data dictionary
with the following entries:
@@ -9924,7 +9924,7 @@ In order to handle any user prompts
+ In order to handle any user prompts
a remote end must take the following steps:
Input state
-Processing actions
input JSON, such that the actions to be performed in a single tick
are grouped together.
-
@@ -7924,7 +7924,7 @@
-Processing actions
pointerType
set to mouse
.
-
@@ -7971,7 +7971,7 @@
Processing actions
properties added by other algorithms in this specification.
@@ -7999,7 +7999,7 @@
Processing actions
@@ -8044,7 +8044,7 @@
-Processing actions
Return success with data action.
@@ -8100,7 +8100,7 @@
-Processing actions
Return success with data action.
@@ -8203,7 +8203,7 @@
-Processing actions
Return success with data action.
@@ -8221,7 +8221,7 @@
-Processing actions
@@ -8347,7 +8347,7 @@
-Processing actions
null
.
@@ -8517,7 +8517,7 @@
-Dispatching actions
grouped by tick, and then causes each action to be run at the
appropriate point in the sequence.
-Dispatching actions
Dispatching actions
@@ -8613,7 +8613,7 @@
-Dispatching actions
Dispatching actions
Keyboard actions
Pointer actions
-Pointer actions
Pointer actions
null
.
-Pointer actions
duration
property if it
@@ -9387,7 +9387,7 @@ Pointer actions
null
.
-Pointer actions
-Pointer actions
Wheel actions
-Wheel actions
deltaX
property of action object.
@@ -9594,7 +9594,7 @@ Wheel actions
null
.
-Perform Actions
to extract an action sequence given input state,
and parameters.
- Release Actions
-
User prompts
When a user prompt appears,
it is the task of the subsequent command to handle it.
If the subsequent requested command is not one listed in this chapter,
- an unexpected alert open error will be returned.
+ an [=error code/unexpected alert open=] error will be returned.
beforeunload
event handlers,
@@ -9914,7 +9914,7 @@ User prompts
User prompts
message.
-
@@ -9966,7 +9966,7 @@
User prompts