@@ -3304,7 +3304,7 @@ To <dfn>locate nodes using CSS</dfn> with given |context|, |context nodes|,
3304
3304
<div algorithm="locate nodes using XPath">
3305
3305
3306
3306
To <dfn>locate nodes using XPath</dfn> with given |context|, |context nodes|,
3307
- |selector|, |maximum returned node count|, and <var ignore> session </var> :
3307
+ |selector|, and |maximum returned node count|:
3308
3308
3309
3309
Note: Owing to the unmaintained state of the XPath specification, this algorithm
3310
3310
is phrased as if making calls to the XPath DOM APIs. However this is to be understood
@@ -3346,8 +3346,7 @@ without going via the ECMAScript runtime.
3346
3346
3347
3347
<div algorithm="locate nodes using inner text">
3348
3348
To <dfn>locate nodes using inner text</dfn> with given |context nodes|,
3349
- |selector|, |max depth|, |match type|, |ignore case|, |maximum returned node count|,
3350
- and |session|:
3349
+ |selector|, |max depth|, |match type|, |ignore case|, and |maximum returned node count|:
3351
3350
3352
3351
1. If |selector| is the empty string, return [=error=] with [=error code=]
3353
3352
[=invalid selector=] .
@@ -3392,7 +3391,7 @@ and |session|:
3392
3391
3393
3392
1. Let |child node matches| be the result of [=locate nodes using inner text=]
3394
3393
with |child nodes|, |selector|, |max depth|, |match type|,
3395
- |ignore case|, |maximum returned node count|, and |session |.
3394
+ |ignore case|, and |maximum returned node count|.
3396
3395
3397
3396
1. If [=list/size=] of |child node matches| is equal to 0 and |match type| is
3398
3397
<code> "partial"</code> , append |context node| to |returned nodes|. Otherwise,
@@ -3454,16 +3453,16 @@ The [=remote end steps=] with |session| and |command parameters| are:
3454
3453
1. Let |selector| be |locator|["<code>value</code>"] .
3455
3454
3456
3455
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using css=]
3457
- given |context|, |context nodes|, |selector|, |maximum returned
3458
- nodes| and |session| .
3456
+ given |context|, |context nodes|, |selector| and |maximum returned
3457
+ nodes|.
3459
3458
3460
3459
<dt> |type| is the string "<code> xpath</code> "
3461
3460
<dd>
3462
3461
1. Let |selector| be |locator|["<code>value</code>"] .
3463
3462
3464
3463
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using xpath=]
3465
- given |context|, |context nodes|, |selector|, |maximum returned
3466
- nodes| and |session| .
3464
+ given |context|, |context nodes|, |selector| and |maximum returned
3465
+ nodes|.
3467
3466
3468
3467
<dt> |type| is the string "<code> innerText</code> "
3469
3468
<dd>
@@ -3480,7 +3479,7 @@ The [=remote end steps=] with |session| and |command parameters| are:
3480
3479
3481
3480
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using inner text=]
3482
3481
given |context nodes|, |selector|, |max depth|, |match type|,
3483
- |ignore case|, |maximum returned node count| and |session |.
3482
+ |ignore case| and |maximum returned node count|.
3484
3483
3485
3484
1. Assert: |maximum returned node count| is null or [=list/size=] of |result nodes| is less
3486
3485
than or equal to |maximum returned node count|.
0 commit comments