Skip to main content
Bumped by Community user

WhenEver iWhenever I am trying to use a list elemnetelement, this error is showing Type mismatch: cannot convert from WebElement to List

Type mismatch: cannot convert from WebElement to List<WebElement>

in appium ,Please. Please help!

List <WebElement>a=driver.findElement(By.className("android.widget.EditText"));

WhenEver i am trying to list elemnet this error is showing Type mismatch: cannot convert from WebElement to List in appium ,Please help!

List <WebElement>a=driver.findElement(By.className("android.widget.EditText"));

Whenever I am trying to use a list element, this error is showing

Type mismatch: cannot convert from WebElement to List<WebElement>

in appium. Please help!

List <WebElement>a=driver.findElement(By.className("android.widget.EditText"));
Notice added Current event by Bruce McLeod
Source Link
shrey
  • 11
  • 1
  • 1
  • 2

Type mismatch: cannot convert from WebElement to List<WebElement>

WhenEver i am trying to list elemnet this error is showing Type mismatch: cannot convert from WebElement to List in appium ,Please help!

List <WebElement>a=driver.findElement(By.className("android.widget.EditText"));