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

156
Visualizações
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 à 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