From 4d87d9396d569fbf01c2e142e111b1091c06f63d Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Mon, 28 Aug 2017 19:57:00 +0530 Subject: [PATCH] Fix #704 --- .../io/appium/java_client/DefaultGenericMobileDriver.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/io/appium/java_client/DefaultGenericMobileDriver.java b/src/main/java/io/appium/java_client/DefaultGenericMobileDriver.java index e3a27cb9e..23e188b22 100644 --- a/src/main/java/io/appium/java_client/DefaultGenericMobileDriver.java +++ b/src/main/java/io/appium/java_client/DefaultGenericMobileDriver.java @@ -150,4 +150,10 @@ public List findElementsByXPath(String using) { @Deprecated public Mouse getMouse() { return super.getMouse(); } + + @Override + public String toString() { + return String.format("%s: %s", getPlatformName(), + getAutomationName()); + } }