appium / appium-windows-driver

Appium's interface to WindowsAppDriver provided by Microsoft
Apache License 2.0
133 stars 35 forks source link

docs: Tune xpath locator example #142

Closed mykola-mokhnach closed 2 years ago

mykola-mokhnach commented 2 years ago

Elements indexing in xpath starts from 1 Also locators like //node[x] might be confusing, because they are not going to select the x-th element in the tree, but rather each x-th element in the hierarchy. Usually, what users want could be achieved by adding parentheses: (//node)[x]

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: