I am trying to use driver.findElements(By.id(“com.mobeta.android.demodslv:id/activity_title”)).get(0).click();
And the click gets undefined for the type list webelement. Any idea why?
Can you post the error?
java.lang.Error: Unresolved compilation problem:
The method click() is undefined for the type Object
If i use driver.findElement(By.id(“com.mobeta.android.demodslv:id/activity_title”)).click();
It compiles fine, but if i do driver.findElements(By.id(“com.mobeta.android.demodslv:id/activity_title”)).get(0).click();
, i am getting - The method click() is undefined for the type Object
having same problem The method click() is undefined for the type Object