-
Notifications
You must be signed in to change notification settings - Fork 44
Parallel Processing with Nightwatch and ChromeDriver without Selenium #239
Comments
Nope, selenium isn't a must to the magellan eco-system. There is an option to disable selenium auto launch in nightwatch.json. Similarly like http://testarmada.io/#manageAppiumLifecycle, |
I'm running a local executor, if i set Where should be the place to start the chromedriver server? I mean calling chromedriver.start/stop in magellan? This is from the official guide: http://nightwatchjs.org/gettingstarted under ChromeDriver section 3. Because i added the start/stop on the before/after hooks on the Changed the port to be |
i'm afraid you need to follow all the instructions especially this one
with all the changes required by the nightwatch, test works fine in my local without selenium server. the entry i use for chrome "chrome": {
"selenium_port" : 9515,
"selenium_host" : "localhost",
"default_path_prefix" : "",
"desiredCapabilities": {
"browserName": "chrome"
},
"selenium": {
"start_process": false
}
}, |
when you see |
I did that:
That's it the default settings were being overrided It does work now, but i found another issue. Every time the cases run starts a new instance of chrome driver on a different port. And they end all using the same one on port The only solution that worked for me, was to run chromedriver as a single process before starting the suite, to avoid the the problem of multiple chromedriver instances in that scenario (when the test run in parallel). |
Is it possible to use this framework without java and selenium?
Using nightwatch parallel auto feature directly avoiding selenium? Or is selenium a core component of Magellan?
The text was updated successfully, but these errors were encountered: