File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/src/main/java/org/cerberus/core/service/appium/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ private By getBy(Identifier identifier) {
298298 return By .name (identifier .getLocator ());
299299
300300 } else if (identifier .getIdentifier ().equalsIgnoreCase ("class" )) {
301- return By .className (identifier .getLocator ());
301+ return AppiumBy .className (identifier .getLocator ());
302302
303303 } else if (identifier .getIdentifier ().equalsIgnoreCase ("css" )) {
304304 return By .cssSelector (identifier .getLocator ());
@@ -313,7 +313,7 @@ private By getBy(Identifier identifier) {
313313 return By .xpath ("//*[@data-cerberus='" + identifier .getLocator () + "']" );
314314
315315 } else if (identifier .getIdentifier ().equalsIgnoreCase ("accesibility-id" )) {
316- return MobileBy . AccessibilityId (identifier .getLocator ());
316+ return AppiumBy . accessibilityId (identifier .getLocator ());
317317
318318 } else {
319319 throw new NoSuchElementException (identifier .getIdentifier ());
You can’t perform that action at this time.
0 commit comments