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

255
Vistas
(Selenium JavaScript) How to add debuggerAddress experimental option?

I want to attach selenium to an existing session of chrome using the debuggerAddress experimental option. How can I achieve this in Selenium JS?

Here's the command that I use to run the chrome session:

google-chrome --remote-debugging-port=9222 --user-data-dir="path/to/user/data"

Here's the JS code that I'm using to connect to that session:

let options = new chrome.Options();
options.addArguments("debuggerAddress=localhost:9222")

let driver = await new Builder()
    .setChromeOptions(options)
    .forBrowser("chrome")
    .build();

await driver.get('https://www.google.com');

Which is not working but instead creates and connects to a new chrome window.

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