Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Steps to re-create protractor zombie chromedriver issue on Windows 10
- /** create these files */
- // conf.js
- exports.config = {
- framework: 'jasmine',
- directConnect: true,
- specs: ['spec.js'],
- restartBrowserBetweenTests: true
- }
- // spec.js
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- describe('Demo App', function() {
- it('should have a title', function() {
- browser.get('http://angularjs.org/')
- expect(browser.getTitle()).toContain('JavaScript')
- })
- })
- /** open task manager and observe chromedriver instances */
- /** run these commands
- $ npm i -S protractor
- $ node_modules/protractor/bin/webdriver-manager update
- $ node_modules/protractor/bin/protractor conf.js
- */
Advertisement
Add Comment
Please, Sign In to add comment