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

121
Vistas
How to extend the timeout for browser.debug?

When I have a Cucumber step definition in JavaScript using WebdriverIO and call:

browser.debug();

...it times out in ten seconds, which is never long enough. Several docs and blog posts advise something like this answer's "Note: The default timeout for the .debug() command is short. Make sure you increase it." But none spell out exactly how to do that.

I've tried things like:

browser.debug({wait: 120000});

...and this, in wdio.conf.js:

exports.config = merge(configs, {
  waitforTimeout: 120000,
  connectionRetryTimeout: 90000,
  framework: 'cucumber',
  cucumberOpts: {
    timeout: 60000,

Neither of these (and similar attempts) have extended the debug timeout.

How can I extend the browser.debug timeout in a Cucumber step definition?

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

0

Control the timeout (in milliseconds) in cucumberOpts. For example, in wdio.conf.js:

exports.config = merge(configs, {
  cucumberOpts: {
    timeout: 60000,
  }
}
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