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

149
Vistas
Creating executable for Selenium tests

I wrote some tests for my Vue app using Selenium, and I'm trying to create an executable so I won't need to install or copy the entire node_modules files each time I want to run my tests. The problem is I didn't find a way to do it.

Currently, I'm running my tests with two terminals like this:

On the first terminal: npm run selenium

Where 'selenium' stand for this script: "./node_modules/protractor/bin/webdriver-manager update && ./node_modules/protractor/bin/webdriver-manager start"

On the second terminal, in a test directory I want to test with the selenium tests I wrote:

  • Starting up the server
  • then, running "npm run --prefix /directory_name/ protractor test/e2e/conf.js -- -disableChecks --url=`grep Server file.log|awk '{print $6}'"

Where "/directory_name/" is including the node_modules files.

My goal is to run everything together with one executable and without the need to install node_module.

Any suggestions?

Thanks in advance! :)

about 4 years ago · Santiago Gelvez
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