Make chrome browser headless when checking the site with selenium (#3095)

pull/3098/head
Tim3141 2025-04-09 10:09:20 +03:00 zatwierdzone przez GitHub
rodzic 2c630e9853
commit 0e38a3c881
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -65,6 +65,7 @@ class fetcher(Fetcher):
# request_body, request_method unused for now, until some magic in the future happens.
options = ChromeOptions()
options.add_argument("--headless")
if self.proxy:
options.proxy = self.proxy