it's ruff out there
This commit is contained in:
parent
b0685c12c0
commit
8a7116a9b0
@ -119,9 +119,7 @@ def has_cloud_banner(driver: WebDriver) -> bool:
|
|||||||
True if the banner is displayed, False otherwise.
|
True if the banner is displayed, False otherwise.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
driver.find_element(
|
driver.find_element(By.XPATH, "//*[ contains(text(), 'This app is paused') ]")
|
||||||
By.XPATH, "//*[ contains(text(), 'This app is paused') ]"
|
|
||||||
)
|
|
||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user