This feature was very much needed from long and almost every SelectorsHub user demanded for it. So finally here it is. With SelectorsHub 4.0, we can automatically generate the Axes based relative xpath just in seconds.
Follow these very simple steps to generate axes based xpath-
- Click on Axes button in SelectorsHub.
- Inspect the parent element.
Note: Here the parent element is the element with respect to which xpath needs to be generated.
- Inspect the child element.
Note: Here the child element is the element for which xpath needs to be generated.
- That’s all. 🙂
Axes based relative XPath is generated and shown in the tab.
- To generate the new XPath, repeat the 2nd and 3rd step.
To learn more about this feature please follow the below video tutorial.