Skip to content

Commit

Permalink
fix(leadfoot): improve webdriver frame ID handling
Browse files Browse the repository at this point in the history
The frame ID check in switchToFrame was based on an older version of the
W3C spec that said drivers should return a NoSuchFrame error for an
invalid ID. The current spec says to return InvalidArgument, which is
what current webdrivers tend to do.

references #1083
  • Loading branch information
jason0x43 committed Jul 21, 2020
1 parent d21248c commit c8b37ec
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 157 deletions.
Loading

0 comments on commit c8b37ec

Please sign in to comment.