diff --git a/src/main/java/io/appium/java_client/AppiumBy.java b/src/main/java/io/appium/java_client/AppiumBy.java index 0f578b0b0..98730e1ad 100644 --- a/src/main/java/io/appium/java_client/AppiumBy.java +++ b/src/main/java/io/appium/java_client/AppiumBy.java @@ -48,7 +48,7 @@ protected AppiumBy(String selector, String locatorString, String locatorName) { } @Override public String toString() { - return String.format("By.%s: %s", locatorName, remoteParameters.value()); + return String.format("AppiumBy.%s: %s", locatorName, remoteParameters.value()); } /**