experiemnta changes to options

This commit is contained in:
Your Name
2025-02-09 20:40:58 -05:00
parent fd9c9b4df2
commit 5874c39bc2

View File

@@ -8,6 +8,7 @@ import time
from selenium.webdriver.support.select import Select from selenium.webdriver.support.select import Select
import RestAPIClient import RestAPIClient
import DiskUtils import DiskUtils
from selenium.webdriver import FirefoxOptions
## https://sullygnome.com/channel/kaicenat/365/games" ## https://sullygnome.com/channel/kaicenat/365/games"
@@ -15,10 +16,19 @@ def download(url):
print(f"launch -> SullyGnomeRobot -> 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) driver.get(url)
print("url / ", river.current_url)
########################################## ##########################################
print("stage / start / tblControl_length check") print("stage / start / tblControl_length check")