Support other locator types in ElementFactory
mialeska opened this issue · 1 comments
mialeska commented
Currently only XPath locators for multiple elements are supported.
Although some locator types could be converted to XPath:
- By.name("awesome") -> By.xPath("//[@name='awesome']") (please note that this is for web, e.g. for desktop xPath would be //[@name='awesome'] according to https://github.com/microsoft/WinAppDriver/blob/master/Docs/AuthoringTestScripts.md )
- By.id("awesome") -> By.xPath("//*[@id='awesome']")
and so on
DmitryBogatko commented
decided that we do not need this feature in core