Commit d40b1a8
authored
switch ByClassName locator from to "class name" (#10355)
"class" is not compatible with ios-driver, Refer to line 39 in https://github.com/ios-driver/ios-driver/blob/dev/server/src/main/java/org/uiautomation/ios/command/web/ToCSSSelectorConverter.java.
the "class" does not match any if condition here and will finally throw "WebDriverException: NI , selector type class"
If switch "class" to "class name", it works for both ios-driver, chromium-driver and geckodirver.
Co-authored-by: Puja Jagani <[email protected]>
Co-authored-by: Diego Molina <[email protected]>
[skip ci]1 parent f333a04 commit d40b1a8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments