Skip to content

Add support for protractor 4.x#47

Open
floribon wants to merge 2 commits intoAndrewKeig:masterfrom
floribon:master
Open

Add support for protractor 4.x#47
floribon wants to merge 2 commits intoAndrewKeig:masterfrom
floribon:master

Conversation

@floribon
Copy link

@floribon floribon commented Sep 4, 2016

Some breaking changes have been introduced since protractor 4.0.0 that this PR fixes.

It also allows the user to return this.quit() since cucumberjs accepts promises instead of forcing the use of a callback.

Contributions to this fork are welcome until this has been merged here.

@floribon
Copy link
Author

Note: if you are using protractor 5.x instead of 4x, replace these lines:

// Syntax for protractor 4.x
var browser = protractor.ProtractorBrowser.wrapDriver(driver);

// Syntax for protractor 5.x
var browser = new protractor.ProtractorBrowser(driver);

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.

1 participant