Skip to content

Commit 751db27

Browse files
committed
feat: use of fixed window size for drivers
1 parent c60be81 commit 751db27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/pages/BasePageObject.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def __init__(self, driver = None):
4040
case _:
4141
raise Exception("Not supported webdriver. Try to use a supported webdriver")
4242

43+
self.driver.set_window_size(1366, 768)
44+
4345

4446
def get_url(self):
4547
return self.driver.current_url

0 commit comments

Comments
 (0)