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