How to use the splinter.driver.chrome.WebDriverElement function in splinter

To help you get started, we’ve selected a few splinter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cobrateam / splinter / splinter / driver / chrome.py View on Github external
def find_by_name(self, name):
        return WebDriverElement(self.driver.find_element_by_name(name))
github cobrateam / splinter / splinter / driver / chrome.py View on Github external
def find_by_xpath(self, xpath):
        return WebDriverElement(self.driver.find_element_by_xpath(xpath))
github cobrateam / splinter / splinter / driver / chrome.py View on Github external
def find_by_tag(self, tag):
        return WebDriverElement(self.driver.find_element_by_tag_name(tag))
github cobrateam / splinter / splinter / driver / chrome.py View on Github external
def find_link_by_text(self, text):
        return WebDriverElement(self.driver.find_element_by_link_text(text))
github cobrateam / splinter / splinter / driver / chrome.py View on Github external
def find_by_css_selector(self, css_selector):
        selector = CSSSelector(css_selector)
        return WebDriverElement(self.driver.find_element_by_xpath(selector.path))