|
@@ -9,15 +9,16 @@ import os, time
|
|
|
from selenium import webdriver
|
|
|
from selenium.webdriver.support.ui import WebDriverWait
|
|
|
|
|
|
-pdf_path = os.getcwd() + "/test.pdf"
|
|
|
-baseURL = "https://www.dottedsign.com/"
|
|
|
-email = "eric.cheng@kdanmobile.com"
|
|
|
-password = "ratherwoman5796"
|
|
|
+mattermost = mattermost.mattermost(driver, flag_report)
|
|
|
+flag_report = Truepdf_path = os.getcwd() + "/test.pdf"
|
|
|
+
|
|
|
+email = SECRET_EMAIL
|
|
|
+password = SECRET_PASSWORD
|
|
|
+
|
|
|
driver = webdriver.Chrome()
|
|
|
wait = WebDriverWait(driver, 60)
|
|
|
+baseURL = "https://www.dottedsign.com/"
|
|
|
driver.get(baseURL)
|
|
|
-flag_report = True
|
|
|
-mattermost = mattermost.mattermost(driver, flag_report)
|
|
|
|
|
|
try:
|
|
|
official = page_official.page_official(driver, wait)
|