【问题标题】:Unable to Maximize the Browser in Selenium When I run Selenium Scripts in background当我在后台运行 Selenium 脚本时,无法在 Selenium 中最大化浏览器
【发布时间】:2018-03-13 14:51:26
【问题描述】:

当我在后台运行脚本时,硒的最大化代码不起作用。窗口的最大尺寸为 1036、780。如何在后台最大化浏览器窗口?

【问题讨论】:

标签: java selenium browser selenium-chromedriver background-process


【解决方案1】:

在后台多次运行 Selenium 测试后,我发现浏览器会给出最大和最小尺寸。 - 背景中的最大尺寸(1036、780) - 背景中的最小尺寸 (415, 125)

【讨论】:

    猜你喜欢
    • 2015-06-20
    • 1970-01-01
    • 1970-01-01
    • 2016-10-11
    • 1970-01-01
    • 2023-04-06
    • 2022-12-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多