1

I'm currently using the desired capability --start-maximized for chrome. Is there an equivalent option for firefox?

Thanks!

frianH
  • 7,295
  • 6
  • 20
  • 45
Isabella
  • 133
  • 1
  • 2
  • 13

1 Answers1

0

Here is how I managed to solve it. I added to the onPrepare function in my protractor.conf.js the following,

(function() {browser.driver.manage().window().maximize();})();

This works for both firefox and chrome :)

Isabella
  • 133
  • 1
  • 2
  • 13