automated terminal push
This commit is contained in:
@@ -16,8 +16,8 @@ def download(url):
|
||||
|
||||
print(f"launch -> SullyGnomeRobot -> download() -> {url}")
|
||||
|
||||
|
||||
opts = FirefoxOptions()
|
||||
|
||||
opts.add_argument("--headless")
|
||||
|
||||
driver=webdriver.Firefox(options=opts)
|
||||
@@ -49,7 +49,7 @@ def download(url):
|
||||
|
||||
print(f"Element with class name 'tblControl_length' not found: {e}")
|
||||
|
||||
RestAPIClient.addDownloadFailure(url)
|
||||
RestAPIClient.addDownloadFailure(url, "Element with class name 'tblControl_length' not found")
|
||||
|
||||
driver.quit()
|
||||
|
||||
@@ -75,7 +75,7 @@ def download(url):
|
||||
|
||||
print(f"Element with class name 'TableExportLinkButton' not found: {e}")
|
||||
|
||||
RestAPIClient.addDownloadFailure(url)
|
||||
RestAPIClient.addDownloadFailure(url,"Element with class name 'TableExportLinkButton' not found")
|
||||
|
||||
driver.quit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user