experiemnta changes to options
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user