mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
show window size
This commit is contained in:
parent
ea7c8da000
commit
df853e06d7
1 changed files with 4 additions and 0 deletions
|
|
@ -139,6 +139,10 @@ def access_page(driver, button: Union[str, WebElement], name: str, message: bool
|
|||
if message:
|
||||
log_info(f"{name.title()} page loaded successfully")
|
||||
|
||||
|
||||
driver.set_window_size(2560, 1440)
|
||||
log_info("Try update window size to 2560,1440")
|
||||
log_info("Current window size is: " + str(driver.get_window_size()))
|
||||
|
||||
def wait_for_service(service: str = "www.example.com"):
|
||||
ready = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue