def nav_link(self): locator = Locator(by=By.XPATH, value="//a[text()='Portfolio']") return BaseElement(driver=self.driver, locator=locator)
def cv_button(self): locator = Locator(by=By.CSS_SELECTOR, value="a.btn-cv") return BaseElement(driver=self.driver, locator=locator)
def click_nav_bar(self): locator = Locator(by=By.CSS_SELECTOR, value="div.menu-btn") return BaseElement(driver=self.driver, locator=locator)
def submit_button(self): locator = Locator(by=By.CSS_SELECTOR, value="input#submit") return BaseElement(driver=self.driver, locator=locator)
def message_input(self): locator = Locator(by=By.CSS_SELECTOR, value="textarea#message") return BaseElement(driver=self.driver, locator=locator)
def email_input(self): locator = Locator(by=By.CSS_SELECTOR, value="input#email") return BaseElement(driver=self.driver, locator=locator)
def name_input(self): locator = Locator(by=By.CSS_SELECTOR, value="input#username") return BaseElement(driver=self.driver, locator=locator)