Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a single browser instance per suite for Protractor/Selenium helper #167

Merged
merged 2 commits into from
Jul 26, 2016

Conversation

Nighthawk14
Copy link
Contributor

@Nighthawk14 Nighthawk14 commented Jul 21, 2016

Instead of opening/closing the browser before/after each tests, this is doing it before/after each suite. Only available for Protractor/Selenium helper at the moment, I'm happy to bring it to webdriver.io if we agree that the feature is good. Also any suggestion/improvement welcome :).

Fix #156

ps: That speeds up the tests as well from 11min to 6

@DavertMik
Copy link
Contributor

Thanks. The feature is good but I think it should be configurable. I will review it tomorrow and if everything is ok I will merge it and try to do same for webdriverio

@DavertMik DavertMik merged commit 5981873 into codeceptjs:master Jul 26, 2016
@DavertMik
Copy link
Contributor

Thank you. SeleniumWebdriver, Protractor and WebDriverIO has restart option to enable/disable using single browser session for all tests. By default it is set to true which was the default behavior. To not restart browser between tests set restart: false

@Nighthawk14 Nighthawk14 deleted the feat/single-browser-instance branch July 27, 2016 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants