Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Can anyone help me in writing xPath for below image, I wrote one but it's not working.
My xPath is //li[@class='active']//a[@class='dropdown-button btn']
If you don't mind switching to CSS selectors, use the following:
CSS selector: #nav-mobile .active a.dropdown-button.btn
#nav-mobile .active a.dropdown-button.btn
Try with the above XPath.
Try using below XPath:
Try below Xpath and share your feedback
Required, but never shown