Skip to content

Commit cfd3d52

Browse files
robocodershs96c
authored andcommitted
Typos and inconsistencies (e.g., US vs UK spelling).
1 parent 4cf85a8 commit cfd3d52

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

index.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ <h3>Algorithms</h3>
338338
The details of these algorithms do not have any normative significance;
339339
implementations are free to adopt any implementation strategy
340340
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
342342
for readability rather than performance.
343343

344344
<p>Where algorithms that return values are fallible,
@@ -375,7 +375,7 @@ <h3>Algorithms</h3>
375375
than <code>undefined</code> and <var>default</var> otherwise.
376376

377377
<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>
379379
is defined as being the same as calling
380380
<a>Object.[[\Put]]</a>(<var>name</var>, <var>value</var>) on <var>object</var>.
381381

@@ -392,7 +392,7 @@ <h3>Algorithms</h3>
392392
<h3>Commands</h3>
393393

394394
<p>
395-
The WebDriver protocol is organised into <a>commands</a>.
395+
The WebDriver protocol is organized into <a>commands</a>.
396396
Each <a>HTTP request</a> with a method and template defined in this specification
397397
represents a single <dfn data-lt=commands>command</dfn>,
398398
and therefore each command produces a single <a>HTTP response</a>.
@@ -1745,7 +1745,7 @@ <h3>Processing capabilities</h3>
17451745
"<code>capabilities</code>" from <var>parameters</var>.
17461746

17471747
<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>,
17491749
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.
17501750
</ol>
17511751

@@ -1984,7 +1984,7 @@ <h3>Processing capabilities</h3>
19841984

19851985
<dt>"<code>strictFileInteractability</code>"
19861986
<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
19881988
&lt;input type=file&gt;.
19891989

19901990
<dt>"<code>setWindowRect</code>"
@@ -2626,15 +2626,15 @@ <h2>Timeouts</h2>
26262626

26272627
<p>
26282628
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
26302630
with the following properties:
26312631

26322632
<dl>
26332633
<dt>"<code>script</code>"
26342634
<dd><var>timeouts</var>' <a>script timeout</a> value, if set, or its default value.
26352635

26362636
<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.
26382638

26392639
<dt>"<code>implicit</code>"
26402640
<dd><var>timeouts</var>' <a>implicit wait timeout</a>’s value, if set, or its default value.
@@ -3224,7 +3224,7 @@ <h2>Contexts</h2>
32243224

32253225
<p>Otherwise let it be the <a>web frame identifier</a>.
32263226

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:
32283228

32293229
<dl>
32303230
<dt><var>identifier</var>
@@ -3348,7 +3348,7 @@ <h3><dfn>Switch To Window</dfn></h3>
33483348
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.
33493349

33503350
<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>,
33523352
return <a>error</a> with <a>error code</a> <a>unexpected alert open</a>.
33533353

33543354
<li><p>If <var>handle</var> is equal to the associated <a>window
@@ -3456,7 +3456,7 @@ <h3><dfn>New Window</dfn></h3>
34563456
window shares an OS-level window with the <a>current browsing
34573457
context</a>, or "<code>window</code>" otherwise.
34583458

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:
34603460

34613461
<dl>
34623462
<dt>"<code>handle</code>"
@@ -3704,7 +3704,7 @@ <h3>Resizing and positioning windows</h3>
37043704
of the <a><code>WindowProxy</code></a>.
37053705

37063706
<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
37083708
with the following properties:
37093709

37103710
<dl>
@@ -7172,7 +7172,7 @@ <h3><dfn>Delete All Cookies</dfn></h3>
71727172
<h2><dfn>Actions</dfn></h2>
71737173

71747174
<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.
71767176
Conceptually, the Actions commands divide time into a series of <a>ticks</a>.
71777177
The <a>local end</a> sends a series of actions
71787178
which correspond to the change in state, if any,
@@ -7572,7 +7572,7 @@ <h3>Ticks</h3>
75727572
will have the {{Event/isTrusted}} attribute set to true.
75737573

75747574
<p>
7575-
The most robust way to despatch these events
7575+
The most robust way to dispatch these events
75767576
is by creating them in the browser implementation itself.
75777577
Sending operating system specific input messages to the browser’s window
75787578
has the disadvantage that the browser being automated
@@ -8519,15 +8519,15 @@ <h4>General actions</h4>
85198519
<section>
85208520
<h4>Keyboard actions</h4>
85218521

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>
85238523
is, if <var>key</var> appears in the table below, the string value in
85248524
the second column on the row containing <var>key</var>’s <a>unicode
85258525
code point</a> in the first column, otherwise it is <var>key</var>.
85268526

85278527
<table class=simple>
85288528
<tr>
85298529
<th><var>key</var>’s codepoint
8530-
<th>Normalised key value
8530+
<th>Normalized key value
85318531
</tr>
85328532
<tr><td><code>\uE000</code></td><td><code>"Unidentified"</code></td></tr>
85338533
<tr><td><code>\uE001</code></td><td><code>"Cancel"</code></td></tr>
@@ -8784,7 +8784,7 @@ <h4>Keyboard actions</h4>
87848784
<li><p>Let <var>raw key</var> be equal to the
87858785
<var>action object</var>’s <code>value</code> property.
87868786

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>
87888788
for <var>raw key</var>.
87898789

87908790
<li><p>If the <var>input state</var>’s <code>pressed</code> property
@@ -8891,7 +8891,7 @@ <h4>Keyboard actions</h4>
88918891
<var>action object</var>’s <code>value</code> property.
88928892

88938893
<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>.
88958895

88968896
<li><p>If the <var>input state</var>’s <code>pressed</code>
88978897
property does not contain <var>key</var>, return.
@@ -9030,7 +9030,7 @@ <h4>Pointer actions</h4>
90309030
set <code>ctrlKey</code>, <code>shiftKey</code>, <code>altKey</code>,
90319031
and <code>metaKey</code> from the <a>calculated global key state</a>.
90329032
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
90349034
specified for hardware that doesn’t support that property.
90359035

90369036
<!-- TODO: add some events that should be emitted? This is a bit
@@ -9078,7 +9078,7 @@ <h4>Pointer actions</h4>
90789078
set <code>ctrlKey</code>, <code>shiftKey</code>, <code>altKey</code>,
90799079
and <code>metaKey</code> from the <a>calculated global key state</a>.
90809080
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
90829082
specified for hardware that doesn’t support that property.
90839083

90849084
<!-- TODO: add some events that should be emitted? This is a bit

0 commit comments

Comments
 (0)