kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Make chrome browser headless when checking the site with selenium (#3095)
rodzic
2c630e9853
commit
0e38a3c881
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue