@@ -6928,29 +6928,30 @@ <h3>Ticks</h3>
6928
6928
<!-- todo: define generating DOM events from an input somewhere -->
6929
6929
6930
6930
< aside class =note >
6931
- < p > An < a > activation trigger</ a >
6932
- generated by the WebDriver API user
6933
- needs to be indistinguishable from those generated
6934
- by a real user interacting with the browser.
6935
- In particular, the dispatched events will have
6936
- the < a > isTrusted</ a > attribute set to true.
6937
- The most robust way to dispatch these events
6938
- is by creating them in the browser implementation itself.
6939
- Sending OS-specific input messages to the browser's window
6940
- has the disadvantage that the browser being automated
6941
- may not be properly isolated from a user
6942
- accidentally modifying < a > input source state</ a > .
6943
- Use of an OS-level accessibility API has the disadvantage
6944
- that the browser's window must be focused,
6945
- and as a result, multiple WebDriver instances cannot run in parallel.
6946
-
6947
- < p > An advantage of an OS-level accessibility API
6948
- is that it guarantees that inputs correctly mirror user input,
6949
- and allows interaction with the host OS if necessary.
6950
- This might, however, have performance penalties
6951
- from a machine utilisation perspective.
6952
- </ aside >
6931
+ < p >
6932
+ An < a > activation trigger</ a > generated by WebDriver
6933
+ needs to be indistinguishable from those generated by a real user interacting with the browser.
6934
+ In particular, the dispatched events
6935
+ will have the < a > < code > isTrusted</ code > </ a > attribute set to true.
6936
+
6937
+ < p >
6938
+ The most robust way to despatch these events
6939
+ is by creating them in the browser implementation itself.
6940
+ Sending operating system specific input messages to the browser’s window
6941
+ has the disadvantage that the browser being automated
6942
+ may not be properly isolated from a user
6943
+ accidentally modifying < a > input source state</ a > .
6944
+ Use of an operating system level accessibility API
6945
+ has the disadvantage that the browser’s window must be focused,
6946
+ and as a result, multiple WebDriver instances cannot run in parallel.
6953
6947
6948
+ < p >
6949
+ The advantage of an operating system level accessibility API
6950
+ is that it guarantees that inputs correctly mirror user input,
6951
+ and allows interaction with the host system if necessary.
6952
+ This might, however, have performance penalties
6953
+ from a machine utilisation perspective.
6954
+ </ aside >
6954
6955
</ section > <!-- /Ticks -->
6955
6956
6956
6957
@@ -9145,7 +9146,7 @@ <h2>Index</h2>
9145
9146
<!-- hasAttribute --> < li > < dfn data-lt ="has the attribute "> < a href =https://dom.spec.whatwg.org/#dom-element-hasattribute > hasAttribute</ a > </ dfn >
9146
9147
<!-- HTMLCollection --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#htmlcollection > < code > HTMLCollection</ code > </ a > </ dfn >
9147
9148
<!-- Inclusive descendant --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-tree-inclusive-descendant > Inclusive descendant</ a > </ dfn >
9148
- <!-- isTrusted --> < li > < dfn data-lt ='is trusted '> < a href ="https://dom.spec.whatwg.org/#dom-event-istrusted "> isTrusted</ a > </ dfn >
9149
+ <!-- isTrusted --> < li > < dfn data-lt ='is trusted '> < a href ="https://dom.spec.whatwg.org/#dom-event-istrusted "> < code > isTrusted</ code > </ a > </ dfn >
9149
9150
<!-- Node document --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-node-document > Node document</ a > </ dfn >
9150
9151
<!-- Node length --> < li > < dfn > < a href ="https://dom.spec.whatwg.org/#concept-node-length "> Node Length</ a > </ dfn >
9151
9152
<!-- Node --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-node > Node</ a > </ dfn >
0 commit comments