Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!