• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Pruebas Online
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

110
Vistas
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

almost 3 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda