Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error code for unsupported locator strategy
W3C WebDriver spec indicates that when an unsupported locator strategy is used in Find Element or Find Elements command, the implementation should return "invalid argument" error. The existing JavaScript atoms for these commands didn't specify an error code, resulting in the default "unknown error". This commit fixes the error code. Signed-off-by: Alexei Barantsev <[email protected]>
- Loading branch information