automated terminal push

This commit is contained in:
Your Name
2025-02-12 11:06:22 -05:00
parent 2b86141b99
commit 6667c774c3
7 changed files with 189 additions and 8 deletions

View File

@@ -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()