How to inspect dynamic invisible web elements using SelectorsHub Debugger

Using SelectorsHub debugger feature any kind of dynamic element, invisible element or dropdown elements can be inspected easily. Step 1: Click on the debugger icon Step 2: After clicking on debugger icon, make the element visible within 5 sec Step 3: Now it will stop the element from disappearing and it can be easily inspected. […]

How to generate multiple xpath and automation code in SelectorsHub

Apart from all this SelectorsHub can generate multiple xpath and locators page for POM Lets see the functionality of this step by step through visual imagery: Step 1: Click on the generate automation / multiple selectors icon on the right side. Step 2: Start inspecting element one by one to generate xpath and selectors. As […]

 SVG

As we all know that SVG elements don’t support the standard XPath pattern. So most of the time we struggle while writing the XPath for SVG elements. But now SelectorsHub has solved this problem. You just type // and it will suggest the correct syntax and you can build XPath without wasting any time. You […]

 iframe

Just inspect the element if it will be inside an iframe, it will show “in iframe” in the SelectorsHub tab. To write the xpath/cssSelector for any element which is inside an iframe, just inspect that element and start typing. To verify any selector (xpath or cssSelector) inside an iframe, first inspect any element inside that […]

Smart Editor

Write and verify xpath Write and verify cssSelector Write and verify jsPath Write and verify jQuery Save xpath and selector value and access them direct from SelectorsHub Turn off toggle to stop auto suggest while typing

How to automate Shadow DOM in selenium

Just inspect the element if it will be inside shadowDOM, it will show “in ShadowDOM” in the SelectorsHub tab. It will auto generate the script in java-selenium to automate shadow dom element It will also generate the css selector and gives other information. To write the cssSelector for any element which is inside shadowDOM, just […]

XPath Error handling

Error control is one of the most important feature which makes SelectorHub better than others.This powerful tool enables you to learn to write your own xpath and selector and enables you to learn doing it in a smart way.It not only tells you that an error occurred but also determines what is the error and […]

 Auto Generate Xpath and CSS selector

Inspect the element to generate all possible xpath and selectors for the element. Copy Value Edit Value Please follow below tutorial for practical example

All the SelectorsHub features in a glance

Smart editor which auto suggests all possible XPath & selectors functions along with their occurrences while typing. Generate all types of possible selectors for inspecting elements in a single click. Error handling. It gives the proper error message like what is wrong in your xpath and cssSelector.  Supports iframe and nested iframes. Supports shadow dom […]