Skip to content

Commit a56962c

Browse files
whimbooandreastt
authored andcommitted
webdriver: change Switch To Frame to raise invalid argument error for invalid types (#1387) (#1388)
1 parent 31483b0 commit a56962c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h2>Terminology</h2>
191191
as described by The Open Group Base Specifications Issue 7
192192
<a href=https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_15>section 4.15</a> (IEEE Std 1003.1).
193193

194-
<p>
194+
<p>
195195
An <dfn>integer</dfn> is a <a>Number</a> that is unchanged
196196
under the <a>ToInteger</a> operation.
197197

@@ -3335,7 +3335,7 @@ <h3><dfn>Switch To Frame</dfn></h3>
33353335
<li><p>If <var>id</var> is not <a>null</a>,
33363336
a <code>Number</code> object,
33373337
or an <a>Object</a> that <a>represents a web element</a>,
3338-
return <a>error</a> with <a>error code</a> <a>no such frame</a>.
3338+
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.
33393339

33403340
<li><p>If the <a>current browsing context</a> is <a>no longer open</a>,
33413341
return <a>error</a> with <a>error code</a> <a>no such window</a>.

0 commit comments

Comments
 (0)