How to stop protractor from closing the session & the browser?Is there a way to store the sessionId to a file in the first run and when we again run the tests, it should pick up the session from the file?
See original GitHub issueHi there!
Bug report
- Node Version:
8.9.4
- Protractor Version:
5.1.2
Latest version gives same output - Angular Version:
1.4.8
- Browser(s):
Chrome
- Operating System and Version
Mac OS 10.13
- My protractor configuration file var multicapabilities=[{ browserName: ‘chrome’, name: process.env.SUMO_ENV+ ‘:chrome’, shardTestFiles: false, maxInstances: 100, idleTimeout: 600000, takesScreenshot:true, extendedDebugging : true, directConnect: false, seleniumAddress: “http://localhost:4444/wd/hub”, seleniumSessionId: “027ed4e0371e084cc5ae3929b711702e” }];
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to stop automatically closing browser when writing ...
js file run by using tag --seleniumSessionId in command line. Solution: Go to ..\AppData\Roaming\npm\node_modules\protractor\built where your ...
Read more >A complete list of different Protractor Browser Commands
This tutorial covers various Protractor Browser Commands with syntax and code examples for beginners to start with Protractor.
Read more >Setting up your own test automation environment
We will cover writing and running Selenium tests using Node.js, ... Save and close this file, then restart your Terminal/command prompt to ...
Read more >Moon - A cross browser Selenium, Cypress, Playwright and ...
A Selenium, Cypress, Playwright and Puppeteer testing platform running in ... For example Moon 1.x browsers list file is stored in Kubernetes config...
Read more >Debugging Options for Selenium Testing | BrowserStack Docs
Debugging Options. You can use various logging options to debug your failed test cases and fix them with ease. This document explains the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@smathur96 Hi Samarth, did you find a way to do this?
My apologies. I didn’t read and interpret “rerun” correctly in your first reply. I can’t think of a way to do this, I’m afraid.