WinAppDriver
WinAppDriver copied to clipboard
ms:experimental-webdriver breaks findElements with xpath
The new option ms:experimental-webdriver breaks driver.findElements and element.findElements in combination with xpath, while it is still possible to find single elements with driver.findElement and element.findElement.
e.g. set ms:experimental-webdriver to true
- driver.findElement(By.xpath("child::*")) -> returns a webelement
- driver.findElements(By.xpath("child::*")) -> returns an empty list
- driver.findElement(By.name("Abbrechen")) -> returns a webelement
- driver.findElements(By.name("Abbrechen")) -> returns an list with one element
Are you using Java?
@anunay1 yes, i am using the selenium java client
I'm also experiencing the same issue with ms:experimental-webdriver
set to true. Setting it to false yields the correct result. I'm using .NET.
Any update?
Any updates?
I also encountered this bug in Python.