-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
24 lines (19 loc) · 791 Bytes
/
config.py
File metadata and controls
24 lines (19 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
from dotenv import load_dotenv
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager
os.environ['WDM_SSL_VERIFY'] = '0'
chrome_service = Service(ChromeDriverManager().install())
load_dotenv()
BASE_URL = os.getenv("BASE_URL")
IMPLICIT_WAIT = int(os.getenv("IMPLICIT_WAIT", "10"))
PAGE_LOAD_TIMEOUT = int(os.getenv("PAGE_LOAD_TIMEOUT", "30"))
BROWSER = os.getenv("BROWSER", "chrome") # chrome or firefox
# Login credentials (for demo site)
LOGIN_USERNAME = os.getenv("LOGIN_USERNAME")
LOGIN_PASSWORD = os.getenv("LOGIN_PASSWORD")
ADMIN_LOGIN_USERNAME = os.getenv("ADMIN_LOGIN_USERNAME")
ADMIN_LOGIN_PASSWORD = os.getenv("ADMIN_LOGIN_PASSWORD")
SSN = os.getenv("SSN")
PIN_1 = os.getenv("PIN_1")
PIN_2 = os.getenv("PIN_2")