Added window size to driver config for internal

This commit is contained in:
2020-08-20 10:50:13 +02:00
parent 977f554043
commit 6fd875f78d
4 changed files with 5 additions and 2 deletions

View File

@ -51,6 +51,7 @@ def main(_) -> None:
options.headless = True
binary = FirefoxBinary(firefox_binary)
driver = webdriver.Firefox(firefox_binary=binary, options=options, executable_path=geckodriver)
driver.set_window_size(1920, 1080)
driver.delete_all_cookies()
driver.implicitly_wait(5)
driver.get(ALLRIS_LOGIN)