Update test_workflow.py
This commit is contained in:
parent
6452781268
commit
dc56f5b33b
|
@ -10,7 +10,7 @@ import undetected_chromedriver as uc
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
logging.basicConfig(level=20)
|
logging.basicConfig(level=10)
|
||||||
logger = logging.getLogger('test')
|
logger = logging.getLogger('test')
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -28,7 +28,11 @@ def main():
|
||||||
os.environ['PATH'] = os.pathsep.join(path_list)
|
os.environ['PATH'] = os.pathsep.join(path_list)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
driver = uc.Chrome(headless=True)
|
driver = uc.Chrome(headless=True)
|
||||||
|
logging.getLogger().setLevel(20)
|
||||||
|
|
||||||
driver.get('https://www.nowsecure.nl')
|
driver.get('https://www.nowsecure.nl')
|
||||||
|
|
||||||
print(driver.current_url)
|
print(driver.current_url)
|
||||||
|
|
Loading…
Reference in New Issue