Is is possible to highlight element in AppiumDriver?

@pr4bh4sh @Priyank_Shah

In Selenium we can use JavascriptExecutor (interface) to execute Javascript code into webdriver.

Is it possible in AppiumDriver?

Getting following error:

org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: http://appium.io/get-involved.html (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11 milliseconds
Build info: version: ‘2.52.0’, revision: ‘4c2593c’, time: ‘2016-02-11 19:06:42’
System info: host: ‘Sanoj-PC’, ip: ‘169.254.96.120’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_11’
Driver info: com.rvsautomation.base.AutomationBase$1
Capabilities [{app=D:\Zervant.apk, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=4d003e9be03d91df, platform=LINUX, desired={app=D:\Zervant.apk, platformVersion=5.1, udid=4d003e9be03d91df, platformName=Android, deviceName=Samsung Galaxy S4}, platformVersion=5.0.1, webStorageEnabled=false, locationContextEnabled=false, browserName=Android, takesScreenshot=true, javascriptEnabled=true, udid=4d003e9be03d91df, platformName=Android}]
Session ID: ab430625-9b25-43bc-9c0c-3c089578aa6a

Thanks,
Sanon

1 Like

This can be done only in webview context. In native context we cannot do it.

2 Likes