We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83dfd6a commit 2e278a9Copy full SHA for 2e278a9
pages.py
@@ -12,7 +12,7 @@
12
class MainPage(Page):
13
def __init__(self, driver):
14
self.locator = MainPageLocatars
15
- super(MainPage, self).__init__(driver)
+ super().__init__(driver) # Python3 version
16
17
def check_page_loaded(self):
18
return True if self.find_element(*self.locator.LOGO) else False
@@ -35,7 +35,7 @@ def click_sign_in_button(self):
35
class LoginPage(Page):
36
37
self.locator = LoginPageLocatars
38
- super(LoginPage, self).__init__(driver)
+ super(LoginPage, self).__init__(driver) # Python2 version
39
40
def enter_email(self, user):
41
self.find_element(*self.locator.EMAIL).send_keys(users.get_user(user)["email"])
0 commit comments