Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
305 views
by

I saw an xpath and it tries to identify it this way,

driver.findElement(By.xpath("./../following-sibling::div"));

What is following-sibling?

1 Answer

0 like 0 dislike
by The go-to Tester (142 points)
The 'following-sibling' selects all siblings after the current node that matches the expression.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...