How do you write effective XPath Selenium selectors?

reesha singh
Apr 4, 2021

--

In my company we use SelectorsHub to write the effective XPath because this is the standard right solution to verify selectors.

It saves a lot of time while writing selectors. It gives right information about the web element like if it is inside shadow dom or iframe or it is svg.

SelectorsHub also gives the proper error message if there is something wrong in xpath.

SelectorsHub is a free browser plugin which supports all the browsers chrome, firefox, safari, brave, edge, opera, chromium and Tor.

SelectorsHub download link

SelectorsHub: Write own XPath
SelectorsHub: Build own XPath

--

--