XPath selector does not depend on some code that is specificly added to an element. XPath can be used on ANY element on the web page and it is pretty much the same as CSSPath, there are very few differences, mostly in performance. Since we don’t need a particular element, we will simply take something from our current webpage. You can pick anything you want!

Be the first to comment

Leave a Reply

Your email address will not be published.