Ads Blocker Key

Email

X

You may logged in many devices. click on X to logout from other device.

Device 1
X
Device 2
X
Device 3
X

XPath/cssSel..
  • No value is saved.
Turn off auto suggestion while typing.
click to disable SelectorsHub
Selector value is copied in clipboard
  • driver.findElement(By.xpath("xpathvalue"))
  • cy.get("xpathvalue")
  • @FindBy(xpath="xpathvalue") @CacheLookup private WebElement selectorname;
  • driver.find_element(*(By.XPATH,"xpathvalue"))
  • await page.locator('xpath=xpathvalue')
  • FindByXpath("xpathvalue")
# Selector Name Command(0) cssSelector id name class linkText partialLinkText tagName
1. Inspect elements or click on DOM nodes one by one to record xpaths for many.
2. Turn on the driver command to generate xpath with command.
3. You can also set the attribute to generate xpath.
4. Click on Copy All button in header to copy all xpaths.
5. You can also export the recorded in xls by click on export icon. 6. Watch the detailed tutorial here how to generate code.
How to use: 1. Inspect element to get auto suggest while typing. 2. It will show the auto suggest for inspected element while typing. 3. If auto suggest doesn't work while typing, delete the value & type again. 4. For more details, pls follow video tutorial and checkout FAQs here.
Learn more about testRigor locators.

×

Please fill the work email here to continue.


    After filling the correct work email, this popup will not appear again. Student can fill the gmail id.
Selectors UI Buttons

Thanks for trying out SelectorsHub. This is a free version, although it is free forever but Pro version must be used for business use. Would you like to take a free trial of the Pro version?