switch ByClassName locator from to "class name" (#10355)
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 <7818236e500a13aefb56190545472f00b97cef69@gmail.com>
Co-authored-by: Diego Molina <bb22cf37947d84e3dd6d6c3568ebe68e7d79c52d@users.noreply.github.com>

[skip ci]
SeleniumHQ/selenium,HtmlUnit/selenium,titusfortner/selenium,titusfortner/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,HtmlUnit/selenium,joshmgrant/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,joshmgrant/selenium,valfirst/selenium,titusfortner/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,joshmgrant/selenium,titusfortner/selenium,joshmgrant/selenium,titusfortner/selenium,HtmlUnit/selenium,joshmgrant/selenium,titusfortner/selenium,valfirst/selenium,valfirst/selenium,valfirst/selenium,titusfortner/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,valfirst/selenium,valfirst/selenium,HtmlUnit/selenium,joshmgrant/selenium,joshmgrant/selenium,titusfortner/selenium,HtmlUnit/selenium,titusfortner/selenium,joshmgrant/selenium,valfirst/selenium,HtmlUnit/selenium,valfirst/selenium,titusfortner/selenium,valfirst/selenium,titusfortner/selenium,valfirst/selenium,joshmgrant/selenium,joshmgrant/selenium,valfirst/selenium,joshmgrant/selenium