random test
This commit is contained in:
parent
e9f629dee4
commit
8726785dc8
2
V5.py
2
V5.py
|
@ -476,7 +476,7 @@ def login(ldriver):
|
||||||
ldriver.get("https://www.bing.com/rewardsapp/flyout")
|
ldriver.get("https://www.bing.com/rewardsapp/flyout")
|
||||||
if "SadPanda.svg" in ldriver.page_source :
|
if "SadPanda.svg" in ldriver.page_source :
|
||||||
log_error('test SadPanda before', ldriver)
|
log_error('test SadPanda before', ldriver)
|
||||||
ldriver.refresh()
|
driver.execute_script("location.reload(true);")
|
||||||
log_error('test SadPanda after', ldriver)
|
log_error('test SadPanda after', ldriver)
|
||||||
if not('>Tableau de bord' in ldriver.page_source):
|
if not('>Tableau de bord' in ldriver.page_source):
|
||||||
try :
|
try :
|
||||||
|
|
Loading…
Reference in New Issue