add more chrome options

This commit is contained in:
BeneKenobi committed 2021-09-01 18:53:30 +02:00
1 parent 28c0df63db
commit e1b7d3dc27
1 file changed
+2
+2
View File
@@ -16,6 +16,8 @@ def main():
known_bikes = read_bike_file('known_bikes') known_bikes = read_bike_file('known_bikes')
chrome_options = Options() chrome_options = Options()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')
chrome_options.add_argument("--headless") chrome_options.add_argument("--headless")
chrome_options.add_argument("--disable-gpu") chrome_options.add_argument("--disable-gpu")
driver = webdriver.Chrome(options=chrome_options) driver = webdriver.Chrome(options=chrome_options)