Reload the page in case fullscreen ads is displayed

This commit is contained in:
sebthom
2022-02-17 17:03:10 +01:00
parent 10ab127076
commit e4226288d3
4 changed files with 47 additions and 4 deletions

View File

@@ -225,7 +225,7 @@ class SeleniumMixin:
input_field.send_keys(text)
pause()
def web_open(self, url:str, timeout:float = 10, reload_if_already_open = False) -> None:
def web_open(self, url:str, timeout:float = 15, reload_if_already_open = False) -> None:
"""
:param url: url to open in browser
:param timeout: timespan in seconds within the page needs to be loaded