|
@@ -41,6 +41,9 @@ logger.fatal('[poibot]['+hname+']['+pid+']begin')
|
|
# import pyautogui as pag
|
|
# import pyautogui as pag
|
|
|
|
|
|
def serive_create(profilepath):
|
|
def serive_create(profilepath):
|
|
|
|
+ if driver is not None:
|
|
|
|
+ driver.quit()
|
|
|
|
+ driver=None
|
|
option = webdriver.ChromeOptions()
|
|
option = webdriver.ChromeOptions()
|
|
|
|
|
|
option.add_argument('--disable-web-security')
|
|
option.add_argument('--disable-web-security')
|