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

155
Vistas
How to read one property out of many pass from command line in webdriverIO

In my automation (webdriverIO) framework we read app name from wdio.conf file through the object property as below.

var testSettings = global.testSettings = {
    APP_URL: argv.app1url || 'http://localhost:8660' || argv.app2url,
};

I am passing argv.app2url value as http://localhost:8860 from the command line and my question is in the test script how can I read argv.app2url value passed from the command line.

I am doing it this way testSettings.APP_URL in the test script but it reads APP_URL as http://localhost:8660 instead of value for argv.app2url which is http://localhost:8860

Can someone please help me how to read argv.app2url value in the test script out of three given property values for APP_URL

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