1

我目前正在使用所需--start-maximized的 chrome 功能。Firefox 是否有等效选项?

谢谢!

4

1 回答 1

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 :)

于 2018-10-17T21:20:10.390 回答