unitinit.py 483 Bytes
# -*- coding: utf-8 -*-
# @Time    :  2020/12/10 23:15
# @Author  :  Young Lee
# @Email   :  young_lee2017@163.com

from selenium import webdriver
# from selenium.webdriver.common.by import By
# from selenium.webdriver.support.ui import WebDriverWait
# from selenium.webdriver.support import expected_conditions as EC
# from selenium.webdriver.common.keys import Keys
from cfg.fxinfo import *

driver = webdriver.Chrome(driver_path)
driver.implicitly_wait(5)
driver.maximize_window()