on-internet
← Community

How to find elements in webview in android using appium

Stack Overflow ·

I am new in automation testing . I am trying to find elements in webview in Android app using appium . Below is code i am using but I am not able to find say div using its id private AppiumDriver<WebElement> driver; @Before public void setUp() throws Exception { // set up appium } @After public void tearDown() throws Exception { driver.quit(); } @Test public void webView() throws InterruptedException { DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("deviceName","Android Emulator"); capabilities.setCapability("appPackage", "com.hokucampusaffairs"); capa

Comments

Sign in or sign up to comment and upvote.

No comments yet.