Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

261
Views
Accessing dollar sign $0 element in Python Selenium

I have an element with no name or id attribute I can only access with a dollar sign:

console.log($0);
"100"

How can I access this from Python Selenium? I'm trying this:

my_value=driver.find_element(By.NAME,"$0")

But I get this error:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"tag name","selector":"$0"}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Find the element in your console, right-click it and select "Copy full XPath"

then you can use it like

driver.findElement(By.xpath("YOUR_XPATH_HERE"))

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!