fix: return elif self patcher version

This commit is contained in:
kayqueGovetri 2023-03-24 07:40:18 -03:00
parent f1869ecac6
commit cf9623e7bd
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
version = self.patcher.version_main
if version and version < 108:
options.add_argument("--headless=chrome")
else:
elif self.patcher.version_main >= 108:
options.add_argument("--headless=new")
options.add_argument("--window-size=1920,1080")