Beispiel #1
0
	def write_pass(self, text):
		element = get_element(self, self.locators.PASS_INPUT, True)
		element.clear()
		element.send_keys(text)
		element.send_keys(Keys.RETURN)
Beispiel #2
0
	def finish_login_by_mail(self):
		element = get_element(self, self.locators.SEND_MAILPASS_BUTTON)
		element.click()
Beispiel #3
0
	def click_login_by_mail(self):
		element = get_element(self, self.locators.LOGIN_BY_MAIL)
		element.click()
Beispiel #4
0
	def write_mail(self, text):
		element = get_element(self, self.locators.MAIL_INPUT, True)
		element.clear()
		element.send_keys(text)
		element.send_keys(Keys.RETURN)
Beispiel #5
0
	def click_profile_triangle(self):
		element = get_element(self, self.locators.PROFILE_TRIANGLE)
		element.click()
Beispiel #6
0
	def click_logout_button(self):
		element = get_element(self, self.locators.LOGOUT_BUTTON)
		element.click()
Beispiel #7
0
	def click_configure_button(self):
		element = get_element(self, self.locators.CONFIGURE_BUTTON)
		element.click()
Beispiel #8
0
	def click_login_by_vk(self):
		element = get_element(self, self.locators.LOGIN_BY_VK)
		element.click()
Beispiel #9
0
	def click_raiting_button(self):
		element = get_element(self, self.locators.RATING_BUTTON)
		element.click()
Beispiel #10
0
	def click_about_button(self):
		element = get_element(self, self.locators.ABOUT_BUTTON)
		element.click()
Beispiel #11
0
	def click_agreement_link(self):
		element = get_element(self, self.locators.AGREEMENT_LINK)
		element.click()
Beispiel #12
0
	def check_sponsors_notes_exist(self):
		element = get_element(self, self.locators.SPONSORS_NOTES)
		return element is not None
Beispiel #13
0
	def check_news_banner_exit(self):
		element = get_element(self, self.locators.NEWS_BANNER)
		return element is not None
Beispiel #14
0
	def check_login_form_exist(self):
		element = get_element(self, self.locators.LOGIN_FORM)
		return element is not None
Beispiel #15
0
	def click_login_button(self):
		element = get_element(self, self.locators.LOGIN_BUTTON)
		element.click()