def getRegister(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.register, page_header_pixels)
     return self.register
 def getContact(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.contact, page_header_pixels)
     return self.contact
 def getSupport(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.support, page_header_pixels)
     return self.support
 def getLogo(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.logo, page_header_pixels)
     return self.logo
 def getSignOn(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.sign_on, page_header_pixels)
     return self.sign_on
 def setConfirmPassword(self, confirmPassword, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.confirmPassword,
                              page_header_pixels)
     self.confirmPassword.send_keys(confirmPassword)
 def submitRegistration(self, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.submit, page_header_pixels)
     self.submit.click()
 def setUserName(self, username, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.userName, page_header_pixels)
     self.userName.send_keys(username)
 def setPassword(self, password, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.password, page_header_pixels)
     self.password.send_keys(password)
 def setEmail(self, email, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.email, page_header_pixels)
     self.email.send_keys(email)
 def setCountry(self, country, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.country, page_header_pixels)
     select = Select(self.country)
     select.select_by_visible_text(country)
 def setPhone(self, phone, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.phone, page_header_pixels)
     self.phone.send_keys(phone)
 def setLastName(self, name, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.lastName, page_header_pixels)
     self.lastName.send_keys(name)
 def setFirstName(self, Name, driver):
     page_header_pixels = 200
     element.scroll_into_view(driver, self.firstName, page_header_pixels)
     self.firstName.clear()
     self.firstName.send_keys(Name)
 def _like_or_dislike(self, locator: Tuple[By, str]):
     self.driver.find_element(*locator).click()
     el = self.driver.find_element(*self.PLAYER_AREA)
     element.scroll_into_view(self.driver, el)
 def _show_more_or_less(self, locator):
     el = self.driver.find_element(*locator)
     element.scroll_into_view(self.driver, el)
     el.click()