devwannabe
devwannabe

Reputation: 3210

Chrome browser doesn't show up when protractor starts testing

I'm wondering why my Chrome browser doesn't show when I start testing my angularjs app with protractor. It does execute the test though. I can see the output on my console.

However, if I change the value of browserName to point to firefox and rerun protractor, Firefox will fire up. I'll also see protractor doing its test on the browser.

Upvotes: 2

Views: 3420

Answers (1)

user637338
user637338

Reputation: 2665

I also had the impression that my Chrome was not showing up, but I just did not see it as I had too many open Chrome browser windows to even notice the one extra. The real reason I did not see it, was, that I was in full screen mode and the chrome window could not go to the forground as MacOS does not always allow this to happen.

For me I quit my usual Chrome session and then I saw that there was actually a new Chrome session appearing as I started the tests. (I know this is so obvious, but after a long day at work the most obvious things can sometimes lead to be puzzled. So this answer is for the ones who just happened have a bad day ;) )

Upvotes: 3

Related Questions