阅读背景:

如何在pro拖拉机/WebdriverJS中设置默认的浏览器窗口大小

来源:互联网 

For some reason when I run my tests at work the browser is maximized, but when I run them at home it only opens a browser window of about 50% width. This causes some discrepancies with scrolling down, etc, so I'd ideally like to have it open a browser window of the same size on every machine the tests are run on. What's the best way to do this? (I've found some answers for other languages but haven't been able to adapt them to javascript)For some reason when I run my tests at work the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: