selenium中Firefox WebDriver 时,--window-size参数设置窗口大小无效?
firefox_options = FirefoxOptions()
firefox_options.add_argument("--headless")
firefox_options.add_argument("--window-size=1200,800")
selenium中Firefox WebDriver 时,--window-size参数设置窗口大小无效?
firefox_options = FirefoxOptions()
firefox_options.add_argument("--headless")
firefox_options.add_argument("--window-size=1200,800")