Thibs
Thibs

Reputation: 8258

Protractor multiple browsers in sequence

Forgive me if this was asked before, but I could not find it.

How could I run my test suites in different browser's one after another. Meaning, run tests in chrome, close chrome, run tests in IE, close IE etc..

I am aware of multiCapabilities, but that seems to be for parallel only.

Thank-you

Upvotes: 2

Views: 1431

Answers (1)

glepretre
glepretre

Reputation: 8167

I think that the maxSessions option will fit your need.

Add this line in your Protractor config:

maxSessions: 1

See reference config and this question.

Upvotes: 5

Related Questions