Photo from Chile

Very nice xpath and css selector locator cheat sheet for Selenium

I was recently asked by a colleague for some advice on locators and I shared this cheat sheet with him. It contains just about everything you need to know for formulating locators for use with Selenium (and also Marionette), and includes syntax for both xpath and css selectors.

I hope you find it as useful as I do.

Selenium Locators Cheat Sheet

Please note that I am not the author of the cheat sheet, just someone who finds it very useful.

TweetBacks
Comments
Nice Share Bob ...

Congrats on the Moz gig ... best place in the world for a dev to work I'd imagine ... moz rocks ...

I've been doing quite a bit of js work lately ... the selenium will come in handy ...

Thanks again ...
# Posted By Edward Beckett | 4/1/13 10:44 PM
Thank you!
# Posted By SP | 5/19/14 4:06 AM