From 5874c39bc2a0cbbcf76bd96ee07a184dc274bb86 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 9 Feb 2025 20:40:58 -0500 Subject: [PATCH] experiemnta changes to options --- SullyGnomeRobot.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/SullyGnomeRobot.py b/SullyGnomeRobot.py index 7dcc6a0..6e8c2c2 100644 --- a/SullyGnomeRobot.py +++ b/SullyGnomeRobot.py @@ -8,6 +8,7 @@ import time from selenium.webdriver.support.select import Select import RestAPIClient import DiskUtils +from selenium.webdriver import FirefoxOptions ## https://sullygnome.com/channel/kaicenat/365/games" @@ -15,10 +16,19 @@ def download(url): print(f"launch -> SullyGnomeRobot -> download() -> {url}") - driver = webdriver.Firefox() + + opts = FirefoxOptions() + opts.add_argument("--headless") + + driver=webdriver.Firefox(options=opts) + + #driver = webdriver.Firefox() driver.get(url) + print("url / ", river.current_url) + + ########################################## print("stage / start / tblControl_length check")