Thursday, December 22, 2016

How to verify xpath in chrome

Sometimes, I need to verify the xpath does be able to find the element I want.
    F12 -> development mode
    Ctrl + f
    type in the xpath in the search text box
if anything is matched, it will be highlighted.

Or on the console, type

No comments:

Post a Comment