Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

276
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda