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.
|
||||
"""
|
||||
try:
|
||||
driver.find_element(
|
||||
By.XPATH, "//*[ contains(text(), 'This app is paused') ]"
|
||||
)
|
||||
driver.find_element(By.XPATH, "//*[ contains(text(), 'This app is paused') ]")
|
||||
except NoSuchElementException:
|
||||
return False
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user