Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

277
Vistas
How to evaluate JavaScript with Firefox's Remote Debugging Protocol (RDP)?

I am trying to use RDP to automate Firefox, but I could not find a way to evaluate arbitrary JavaScript in the context of current web page. I am looking for a command equivalent to Chrome's Runtime.evaluate.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I don't think Firefox is pursuing the implementation of CDP anymore, and as you already noticed, the Runtime.evaluate command does not seem to be part of the implemented features. Hard to be 100% sure because the available documentation is very sparse but I tested it and it fails with UnknownMethodError.

Mozilla is currently pushing for a new protocol: WebdriverBiDi. This new specification should bridge the gap between the REST-based Webdriver protocol and the newly emerged Websocket-based DevTools protocol (more flexible and efficient). It will be a Websocket-based protocol and the good news is that Google, Mozilla, Apple and other major players are part of it. Hopefully, this will emerge as a real standard like Webdriver became.

Given the current draft of the spec, I would say that script.evaluate should be the command you will be waiting for... I have no idea when it will get there though.

about 4 years ago · Juan Pablo Isaza Denunciar
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 Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda