'How to make an XPath which contains both starts-with and not end-with attribute? [duplicate]
I need to make an XPath.
I am writing a script and trying to get an exact element from the page.
Solution 1:[1]
Where as ends-with() isn't part of xpath v1.0 but a part of xpath v2.0 specifications.
Hence, you can't use the ends-with() clause directly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
