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

133
Visualizações
The term “URL=Test.com” is not recognized

I have the following in my test file. I’m trying to use env variables on my scripts then send the value thru commandline.

const MYURL = process.env.URL;
console.log(MYURL)

In the commandline when I run the following:

URL=Test.com npx playwright test

I get an error message:

The term ‘URL=Test.com’ is not recognized as the name of the cmdlet..etc.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Because you use bash syntax in Powershell. Powershell does not set env variables like var=value, so this syntax won't work.

You probably need to read something like this to figure out the right syntax for Powershell.

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