HOME/Articles/

mysql example scorpio config uiConfig (snippet)

Article Outline

Python mysql example 'scorpio config uiConfig'

python scorpio config uiConfig

Python mysql example: scorpio config uiConfig

# LOCAL_CHROME
from selenium import webdriver

__chrome = webdriver.Chrome
__firefox = webdriver.Firefox

DRIVER = {
    "type": __firefox
}

GECKO_DRIVER_LOG_PATH = r"D:\project\code\capricornus\log\geckodriver.log"

DEFAULT_FIND_ELEMENT_TIMEOUT = 3  # 默认查找元素超时时间
DEFAULT_PAGE_LOAD_TIMEOUT = 10  # 默认加载页面超时时间
DEFAULT_DOWNLOAD_PATH = r"D:\project\code\capricornus\log"