mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-16 20:12:44 +00:00
--headless
This commit is contained in:
parent
4f69c1d8a0
commit
a0b9081f8f
|
@ -240,7 +240,7 @@ def main():
|
||||||
|
|
||||||
print(f"Setting up selenium Firefox emulator", file=sys.stderr)
|
print(f"Setting up selenium Firefox emulator", file=sys.stderr)
|
||||||
options = webdriver.FirefoxOptions()
|
options = webdriver.FirefoxOptions()
|
||||||
# options.add_argument("--headless")
|
options.add_argument("--headless")
|
||||||
|
|
||||||
user_agent = UserAgent().random
|
user_agent = UserAgent().random
|
||||||
options.set_preference("general.useragent.override", user_agent)
|
options.set_preference("general.useragent.override", user_agent)
|
||||||
|
|
Loading…
Reference in a new issue