Closed irondev84 closed 3 years ago
Thanks for reporting the problem, I will investigate it and try to reproduce the issue from my side
@ironeo Thanks for raising the issue 🙌 . I can reproduce the issue, but when I tried to spawn chrome and edge browser, none of the browsers started. I received the error [1625829661.258][SEVERE]: bind() failed: Address already in use (48)
for both edge and chrome. I had raised the fix, will soon release a new version with the fix.
As seen above msedge drive is running under chrome!
can you please assist me, how I can reproduce the above issue? IMO, the above fix would solve the issue
I dont clearly understand... if you have a fix why you need a help with reproduce a bug? What bug are you trying to reproduce if you said you can reproduce issue?
oh!! my bad, so as you explained in the bug that msedge drive is running under chrome!
, so I was talking about this issue, as I couldn't reproduce this issue
ok, so please run the following command: nightwatch path/to/tests/scenario --env edge,chrome --parallel as I said, If you run test on chrome and egde altogether, msedge env is running under chromedriver, it is mean that you will have two Chrome session instead of one on chrome and one on edge. Is it more clear now ?
Describe the bug
I think there is still something wrong. I changed nightwatch.conf.js to the default one and entered some necessary values for my project. a few things don't work:
1.if I run on two environments: edge and chrome, both sessions are edge? I don't know why the chromedriver session doesn't get up
2.if I add the --parallel to parameter at the beginning and this is how I get the message: Test workers are disabled when running multiple test environments in parallel.
Please verify my nightwatch.conf.js and explain somehow configure it to, for example, for the command:
nightwatch path / to / tests --env edge, firefox, chrome
tests performed on 3 different browsers?At the moment it works so that when I give pairs: 1.firefox + chrome it is ok
Run with command nightwatch path/to/tests/scenario --env edge,chrome,firefox nightwatch path/to/tests/scenario --env edge,chrome,firefox --parallel
Verbose output
debug.log
```txt Test workers are disabled when running multiple test environments in parallel. ``` ```txt chrome [testScenario] Test Suite chrome ======================================================= chrome - Connecting to localhost on port 9515... chrome chrome i Connected to localhost on port 9515 (8140ms). chrome Using: msedge (91.0.864.64) on Windows platform. ```
As seen above msedge drive is running under chrome!
Configuration
My Environment
|
nightwatch --version
| 1.7.7| |npm --version
| 6.14.10| |node --version
| 14.15.4|| Browser driver | Version | | chromedriver | 91.0.4472.114 | |edgedriver|91.0.864.64| | geckodriver |88 | | selenium-server | 3.141 | -->
| OS | Version |
| Windows 10 | 1607 | -->