Update test_workflow.py
This commit is contained in:
parent
4e81361ced
commit
4db5ce60c5
|
@ -12,6 +12,8 @@ import undetected_chromedriver as uc
|
||||||
# due to the randomneess of the chrome install path on the runner when running action, i have to find it manufally
|
# due to the randomneess of the chrome install path on the runner when running action, i have to find it manufally
|
||||||
tmp = Path('/tmp')
|
tmp = Path('/tmp')
|
||||||
for item in tmp.glob('chrome*'):
|
for item in tmp.glob('chrome*'):
|
||||||
|
print(item)
|
||||||
|
time.sleep(1)
|
||||||
if item.is_dir():
|
if item.is_dir():
|
||||||
path_list = os.environ['PATH'].split(os.pathsep)
|
path_list = os.environ['PATH'].split(os.pathsep)
|
||||||
path_list.insert(0, str(item))
|
path_list.insert(0, str(item))
|
||||||
|
|
Loading…
Reference in New Issue