简体   繁体   中英

Automate Protractor / Selenium / Webdriver command

How can i start my localhost server with node app.js, run webdriver-manager start, and protractor conf.js in one command.

Each of these commands take place in a different folder.

I want to streamline this process.

I have a written an alias that executes each command in their respective folders.

Problem is, each of these commands launch a server, and the terminal enters non-canonical mode which causes an issue.

I have tried adding & to the end of each command, but this did not work.

Solve it via a task management tool like grunt or gulp .

Here is the list of plugins that might be useful in your case:

See also:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM