@@ -338,7 +338,7 @@ <h3>Algorithms</h3>
338
338
The details of these algorithms do not have any normative significance;
339
339
implementations are free to adopt any implementation strategy
340
340
that produces equivalent output to the specification.
341
- In particular, algorithms in this document are optimised
341
+ In particular, algorithms in this document are optimized
342
342
for readability rather than performance.
343
343
344
344
< p > Where algorithms that return values are fallible,
@@ -375,7 +375,7 @@ <h3>Algorithms</h3>
375
375
than < code > undefined</ code > and < var > default</ var > otherwise.
376
376
377
377
< p > < dfn data-lt ='set a property '> Setting a property</ dfn > with
378
- arguments < var > name</ var > and < var > value</ var > on < var > ovject </ var >
378
+ arguments < var > name</ var > and < var > value</ var > on < var > object </ var >
379
379
is defined as being the same as calling
380
380
< a > Object.[[\Put]]</ a > (< var > name</ var > , < var > value</ var > ) on < var > object</ var > .
381
381
@@ -392,7 +392,7 @@ <h3>Algorithms</h3>
392
392
< h3 > Commands</ h3 >
393
393
394
394
< p >
395
- The WebDriver protocol is organised into < a > commands</ a > .
395
+ The WebDriver protocol is organized into < a > commands</ a > .
396
396
Each < a > HTTP request</ a > with a method and template defined in this specification
397
397
represents a single < dfn data-lt =commands > command</ dfn > ,
398
398
and therefore each command produces a single < a > HTTP response</ a > .
@@ -1745,7 +1745,7 @@ <h3>Processing capabilities</h3>
1745
1745
"< code > capabilities</ code > " from < var > parameters</ var > .
1746
1746
1747
1747
< ol >
1748
- < li > < p > If < var > capabilities request</ var > is not a JSON object ,
1748
+ < li > < p > If < var > capabilities request</ var > is not a JSON < a > Object </ a > ,
1749
1749
return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
1750
1750
</ ol >
1751
1751
@@ -1984,7 +1984,7 @@ <h3>Processing capabilities</h3>
1984
1984
1985
1985
< dt > "< code > strictFileInteractability</ code > "
1986
1986
< dd > < a > Boolean</ a > initially set to false,
1987
- indicating that interactabilty checks will be applied to
1987
+ indicating that interactability checks will be applied to
1988
1988
<input type=file>.
1989
1989
1990
1990
< dt > "< code > setWindowRect</ code > "
@@ -2626,15 +2626,15 @@ <h2>Timeouts</h2>
2626
2626
2627
2627
< p >
2628
2628
The < dfn > timeouts object</ dfn > for a < a > timeouts
2629
- configuration</ a > < var > timeouts</ var > is an < a > object</ a > initalized
2629
+ configuration</ a > < var > timeouts</ var > is an < a > object</ a > initialized
2630
2630
with the following properties:
2631
2631
2632
2632
< dl >
2633
2633
< dt > "< code > script</ code > "
2634
2634
< dd > < var > timeouts</ var > ' < a > script timeout</ a > value, if set, or its default value.
2635
2635
2636
2636
< dt > "< code > pageLoad</ code > "
2637
- < dd > < var > timouts </ var > ' < a > page load timeout</ a > ’s value, if set, or its default value.
2637
+ < dd > < var > timeouts </ var > ' < a > page load timeout</ a > ’s value, if set, or its default value.
2638
2638
2639
2639
< dt > "< code > implicit</ code > "
2640
2640
< dd > < var > timeouts</ var > ' < a > implicit wait timeout</ a > ’s value, if set, or its default value.
@@ -3224,7 +3224,7 @@ <h2>Contexts</h2>
3224
3224
3225
3225
< p > Otherwise let it be the < a > web frame identifier</ a > .
3226
3226
3227
- < li > < p > Return a JSON < a > Object</ a > initialised with the following properties:
3227
+ < li > < p > Return a JSON < a > Object</ a > initialized with the following properties:
3228
3228
3229
3229
< dl >
3230
3230
< dt > < var > identifier</ var >
@@ -3348,7 +3348,7 @@ <h3><dfn>Switch To Window</dfn></h3>
3348
3348
return < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
3349
3349
3350
3350
< li > < p > If there is an active < a > user prompt</ a > , that prevents the
3351
- focussing of another < a > top-level browsing context</ a > ,
3351
+ focusing of another < a > top-level browsing context</ a > ,
3352
3352
return < a > error</ a > with < a > error code</ a > < a > unexpected alert open</ a > .
3353
3353
3354
3354
< li > < p > If < var > handle</ var > is equal to the associated < a > window
@@ -3456,7 +3456,7 @@ <h3><dfn>New Window</dfn></h3>
3456
3456
window shares an OS-level window with the < a > current browsing
3457
3457
context</ a > , or "< code > window</ code > " otherwise.
3458
3458
3459
- < li > < p > Let < var > result</ var > be a new JSON < a > Object</ a > initialised with:
3459
+ < li > < p > Let < var > result</ var > be a new JSON < a > Object</ a > initialized with:
3460
3460
3461
3461
< dl >
3462
3462
< dt > "< code > handle</ code > "
@@ -3704,7 +3704,7 @@ <h3>Resizing and positioning windows</h3>
3704
3704
of the < a > < code > WindowProxy</ code > </ a > .
3705
3705
3706
3706
< p > The < dfn > WindowRect object</ dfn > for
3707
- a < a > WindowProxy</ a > , < var > window</ var > is a < a > object </ a > initalised
3707
+ a < a > WindowProxy</ a > , < var > window</ var > is an < a > Object </ a > initialized
3708
3708
with the following properties:
3709
3709
3710
3710
< dl >
@@ -7172,7 +7172,7 @@ <h3><dfn>Delete All Cookies</dfn></h3>
7172
7172
< h2 > < dfn > Actions</ dfn > </ h2 >
7173
7173
7174
7174
< p > The Actions API provides a low-level interface
7175
- for providing virtualised device input to the web browser.
7175
+ for providing virtualized device input to the web browser.
7176
7176
Conceptually, the Actions commands divide time into a series of < a > ticks</ a > .
7177
7177
The < a > local end</ a > sends a series of actions
7178
7178
which correspond to the change in state, if any,
@@ -7572,7 +7572,7 @@ <h3>Ticks</h3>
7572
7572
will have the {{Event/isTrusted}} attribute set to true.
7573
7573
7574
7574
< p >
7575
- The most robust way to despatch these events
7575
+ The most robust way to dispatch these events
7576
7576
is by creating them in the browser implementation itself.
7577
7577
Sending operating system specific input messages to the browser’s window
7578
7578
has the disadvantage that the browser being automated
@@ -8519,15 +8519,15 @@ <h4>General actions</h4>
8519
8519
< section >
8520
8520
< h4 > Keyboard actions</ h4 >
8521
8521
8522
- < p > The < dfn > normalised key value</ dfn > for a raw key < var > key</ var >
8522
+ < p > The < dfn > normalized key value</ dfn > for a raw key < var > key</ var >
8523
8523
is, if < var > key</ var > appears in the table below, the string value in
8524
8524
the second column on the row containing < var > key</ var > ’s < a > unicode
8525
8525
code point</ a > in the first column, otherwise it is < var > key</ var > .
8526
8526
8527
8527
< table class =simple >
8528
8528
< tr >
8529
8529
< th > < var > key</ var > ’s codepoint
8530
- < th > Normalised key value
8530
+ < th > Normalized key value
8531
8531
</ tr >
8532
8532
< tr > < td > < code > \uE000</ code > </ td > < td > < code > "Unidentified"</ code > </ td > </ tr >
8533
8533
< tr > < td > < code > \uE001</ code > </ td > < td > < code > "Cancel"</ code > </ td > </ tr >
@@ -8784,7 +8784,7 @@ <h4>Keyboard actions</h4>
8784
8784
< li > < p > Let < var > raw key</ var > be equal to the
8785
8785
< var > action object</ var > ’s < code > value</ code > property.
8786
8786
8787
- < li > < p > Let < var > key</ var > be equal to the < a > normalised key value</ a >
8787
+ < li > < p > Let < var > key</ var > be equal to the < a > normalized key value</ a >
8788
8788
for < var > raw key</ var > .
8789
8789
8790
8790
< li > < p > If the < var > input state</ var > ’s < code > pressed</ code > property
@@ -8891,7 +8891,7 @@ <h4>Keyboard actions</h4>
8891
8891
< var > action object</ var > ’s < code > value</ code > property.
8892
8892
8893
8893
< li > < p > Let < var > key</ var > be equal to the
8894
- < a > normalised key value</ a > for < var > raw key</ var > .
8894
+ < a > normalized key value</ a > for < var > raw key</ var > .
8895
8895
8896
8896
< li > < p > If the < var > input state</ var > ’s < code > pressed</ code >
8897
8897
property does not contain < var > key</ var > , return.
@@ -9030,7 +9030,7 @@ <h4>Pointer actions</h4>
9030
9030
set < code > ctrlKey</ code > , < code > shiftKey</ code > , < code > altKey</ code > ,
9031
9031
and < code > metaKey</ code > from the < a > calculated global key state</ a > .
9032
9032
Type specific properties for the pointer that are not
9033
- exposed through the webdriver API must be set to the default value
9033
+ exposed through the WebDriver API must be set to the default value
9034
9034
specified for hardware that doesn’t support that property.
9035
9035
9036
9036
<!-- TODO: add some events that should be emitted? This is a bit
@@ -9078,7 +9078,7 @@ <h4>Pointer actions</h4>
9078
9078
set < code > ctrlKey</ code > , < code > shiftKey</ code > , < code > altKey</ code > ,
9079
9079
and < code > metaKey</ code > from the < a > calculated global key state</ a > .
9080
9080
Type specific properties for the pointer that are not
9081
- exposed through the webdriver API must be set to the default value
9081
+ exposed through the WebDriver API must be set to the default value
9082
9082
specified for hardware that doesn’t support that property.
9083
9083
9084
9084
<!-- TODO: add some events that should be emitted? This is a bit
0 commit comments