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

144
Views
RobotFramework JavaScript click method get passed but doesn't do click

Working with RobotFramework(python) I'm trying to implement a method that would click intercepted element. I know it's possible with JS. Here's two methods that should supposedly work:

  1. Execute Javascript document.evaluate("X-PATH",document.body,null,9,null).singleNodeValue.click()

  2. Execute JavaScript function getElementByXpath(path) { return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; } var element=getElementByXpath("X-PATH"); element.click()

Both of them get passed but on UI click doesn't happen. What might be a problem??

xpath is unique for the element so it should be seen

Here's a logz: enter image description here

P.S it has nothing to do with intercepted element, it doesn't click on any other element

about 4 years ago · Juan Pablo Isaza
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!