Example #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)
Example #2
0
	def finish_login_by_mail(self):
		element = get_element(self, self.locators.SEND_MAILPASS_BUTTON)
		element.click()
Example #3
0
	def click_login_by_mail(self):
		element = get_element(self, self.locators.LOGIN_BY_MAIL)
		element.click()
Example #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)
Example #5
0
	def click_profile_triangle(self):
		element = get_element(self, self.locators.PROFILE_TRIANGLE)
		element.click()
Example #6
0
	def click_logout_button(self):
		element = get_element(self, self.locators.LOGOUT_BUTTON)
		element.click()
Example #7
0
	def click_configure_button(self):
		element = get_element(self, self.locators.CONFIGURE_BUTTON)
		element.click()
Example #8
0
	def click_login_by_vk(self):
		element = get_element(self, self.locators.LOGIN_BY_VK)
		element.click()
Example #9
0
	def click_raiting_button(self):
		element = get_element(self, self.locators.RATING_BUTTON)
		element.click()
Example #10
0
	def click_about_button(self):
		element = get_element(self, self.locators.ABOUT_BUTTON)
		element.click()
Example #11
0
	def click_agreement_link(self):
		element = get_element(self, self.locators.AGREEMENT_LINK)
		element.click()
Example #12
0
	def check_sponsors_notes_exist(self):
		element = get_element(self, self.locators.SPONSORS_NOTES)
		return element is not None
Example #13
0
	def check_news_banner_exit(self):
		element = get_element(self, self.locators.NEWS_BANNER)
		return element is not None
Example #14
0
	def check_login_form_exist(self):
		element = get_element(self, self.locators.LOGIN_FORM)
		return element is not None
Example #15
0
	def click_login_button(self):
		element = get_element(self, self.locators.LOGIN_BUTTON)
		element.click()