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

137
Vistas
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 Respuestas
Responde la pregunta

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 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