Module Expr Str Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore Str If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd CompareNotEq NameLoad Str CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad orelse Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad name NameStore body If CompareIn Str Call AttributeLoad NameLoad attr body Return NameLoad orelse If CompareIn Str Call AttributeLoad NameLoad attr body Return NameLoad orelse If CompareIn Str Call AttributeLoad NameLoad attr body Return NameLoad orelse Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Assign NameStore Str Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If CompareIs NameLoad Str body Return NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list NameLoad decorator_list
N/A N/A WebElement implementation. N/A os N/A zipfile N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO N/A base64 command Command selenium.common.exceptions WebDriverException selenium.common.exceptions InvalidSelectorException selenium.webdriver.common.by By selenium.webdriver.common.keys Keys N/A N/A N/A str basestring N/A N/A N/A NameError N/A N/A WebElement N/A object N/A N/A Represents an HTML element.

    Generally, all interesting operations to do with interacting with a page
    will be performed through this interface. __init__ N/A N/A self parent id_ N/A N/A N/A N/A self _parent parent N/A N/A self _id id_ N/A tag_name N/A N/A self N/A N/A N/A Gets this element's tagName property. N/A N/A N/A N/A self _execute N/A Command GET_ELEMENT_TAG_NAME N/A value N/A property text N/A N/A self N/A N/A N/A Gets the text of the element. N/A N/A N/A N/A self _execute N/A Command GET_ELEMENT_TEXT N/A value N/A property click N/A N/A self N/A N/A N/A Clicks the element. N/A N/A N/A self _execute N/A Command CLICK_ELEMENT N/A submit N/A N/A self N/A N/A N/A Submits a form. N/A N/A N/A self _execute N/A Command SUBMIT_ELEMENT N/A clear N/A N/A self N/A N/A N/A Clears the text if it's a text entry element. N/A N/A N/A self _execute N/A Command CLEAR_ELEMENT N/A get_attribute N/A N/A self name N/A N/A N/A Gets the attribute value.
        
        :Args:
            - name - name of the attribute property to retieve.

        Example::

            # Check if the 'active' css class is applied to an element.
            is_active = "active" in target_element.get_attribute("class")

         N/A resp N/A N/A self _execute N/A Command GET_ELEMENT_ATTRIBUTE N/A name name N/A attributeValue N/A N/A N/A resp N/A value None N/A N/A attributeValue None N/A N/A attributeValue N/A resp N/A value N/A N/A N/A name value N/A N/A N/A attributeValue lower N/A true false N/A N/A attributeValue N/A N/A attributeValue lower N/A attributeValue N/A is_selected N/A N/A self N/A N/A N/A Whether the element is selected.

        Can be used to check if a checkbox or radio button is selected.
         N/A N/A N/A N/A self _execute N/A Command IS_ELEMENT_SELECTED N/A value N/A is_enabled N/A N/A self N/A N/A N/A Whether the element is enabled. N/A N/A N/A N/A self _execute N/A Command IS_ELEMENT_ENABLED N/A value N/A find_element_by_id N/A N/A self id_ N/A N/A N/A Finds element within the child elements of this element.
        
        :Args:
            - id_ - ID of child element to locate.
         N/A N/A N/A self find_element by N/A By ID value id_ N/A find_elements_by_id N/A N/A self id_ N/A N/A N/A Finds a list of elements within the children of this element 
        with the matching ID.
        
        :Args:
            - id_ - Id of child element to find.
         N/A N/A N/A self find_elements by N/A By ID value id_ N/A find_element_by_name N/A N/A self name N/A N/A N/A Find element with in this element's children by name.
        :Args:
            - name - name property of the element to find.
         N/A N/A N/A self find_element by N/A By NAME value name N/A find_elements_by_name N/A N/A self name N/A N/A N/A Finds a list of elements with in this element's children by name.
        
        :Args:
            - name - name property to search for.
         N/A N/A N/A self find_elements by N/A By NAME value name N/A find_element_by_link_text N/A N/A self link_text N/A N/A N/A Finds element with in this element's children by visible link text.
        
        :Args:
            - link_text - Link text string to search for.
         N/A N/A N/A self find_element by N/A By LINK_TEXT value link_text N/A find_elements_by_link_text N/A N/A self link_text N/A N/A N/A Finds a list of elements with in this element's children by visible link text.
        
        :Args:
            - link_text - Link text string to search for.
         N/A N/A N/A self find_elements by N/A By LINK_TEXT value link_text N/A find_element_by_partial_link_text N/A N/A self link_text N/A N/A N/A Finds element with in this element's children by parial visible link text.
        
        :Args:
            - link_text - Link text string to search for.
         N/A N/A N/A self find_element by N/A By PARTIAL_LINK_TEXT value link_text N/A find_elements_by_partial_link_text N/A N/A self link_text N/A N/A N/A Finds a list of elements with in this element's children by link text.
        
        :Args:
            - link_text - Link text string to search for.
         N/A N/A N/A self find_elements by N/A By PARTIAL_LINK_TEXT value link_text N/A find_element_by_tag_name N/A N/A self name N/A N/A N/A Finds element with in this element's children by tag name.
        
        :Args:
            - name - name of html tag (eg: h1, a, span)
         N/A N/A N/A self find_element by N/A By TAG_NAME value name N/A find_elements_by_tag_name N/A N/A self name N/A N/A N/A Finds a list of elements with in this element's children by tag name.
        
        :Args:
            - name - name of html tag (eg: h1, a, span)
         N/A N/A N/A self find_elements by N/A By TAG_NAME value name N/A find_element_by_xpath N/A N/A self xpath N/A N/A N/A Finds element by xpath.
        
        :Args:
            xpath - xpath of element to locate.  "//input[@class='myelement']"

        Note: The base path will be relative to this element's location.

        This will select the first link under this element.::

            myelement.find_elements_by_xpath(".//a")

        However, this will select the first link on the page.

            myelement.find_elements_by_xpath("//a")

         N/A N/A N/A self find_element by N/A By XPATH value xpath N/A find_elements_by_xpath N/A N/A self xpath N/A N/A N/A Finds elements within the elements by xpath.
        
        :Args:
            - xpath - xpath locator string.

        Note: The base path will be relative to this element's location.

        This will select all links under this element.::

            myelement.find_elements_by_xpath(".//a")

        However, this will select all links in the page itself.

            myelement.find_elements_by_xpath("//a")
         N/A N/A N/A self find_elements by N/A By XPATH value xpath N/A find_element_by_class_name N/A N/A self name N/A N/A N/A Finds an element within this element's children by their class name.
        
        :Args:
            - name - class name to search on.
         N/A N/A N/A self find_element by N/A By CLASS_NAME value name N/A find_elements_by_class_name N/A N/A self name N/A N/A N/A Finds a list of elements within children of this element by their class name.
        
        :Args:
            - name - class name to search on.
         N/A N/A N/A self find_elements by N/A By CLASS_NAME value name N/A find_element_by_css_selector N/A N/A self css_selector N/A N/A N/A Find and return an element that's a child of this element by CSS selector.
        
        :Args:
            - css_selector - CSS selctor string, ex: 'a.nav#home'
         N/A N/A N/A self find_element by N/A By CSS_SELECTOR value css_selector N/A find_elements_by_css_selector N/A N/A self css_selector N/A N/A N/A Find and return list of multiple elements within the children of this 
        element by CSS selector.
        
        :Args:
            - css_selector - CSS selctor string, ex: 'a.nav#home'
         N/A N/A N/A self find_elements by N/A By CSS_SELECTOR value css_selector N/A send_keys N/A N/A self N/A value N/A N/A Simulates typing into the element.

        :Args:
            - value - A string for typing, or setting form fields.  For setting 
            file inputs, this could be a local file path.

        Use this to send simple key events or to fill out form fields::

            form_textfield = driver.find_element_by_name('username')
            form_textfield.send_keys("admin")
        
        This can also be used to set file inputs.::

            file_input = driver.find_element_by_name('profilePic')
            file_input.send_keys("path/to/profilepic.gif")
            # Generally it's better to wrap the file path in one of the methods 
            # in os.path to return the actual path to support cross OS testing.
            # file_input.send_keys(os.path.abspath("path/to/profilepic.gif"))

         N/A N/A N/A self parent _is_remote N/A N/A local_file N/A N/A LocalFileDetector is_local_file value N/A N/A local_file None N/A N/A value N/A N/A self _upload local_file N/A typing N/A N/A val value N/A N/A N/A isinstance val Keys N/A N/A N/A N/A typing append val N/A N/A N/A isinstance val int N/A N/A val N/A N/A val __str__ N/A i N/A range N/A len val N/A N/A N/A N/A typing append N/A val N/A i N/A N/A i N/A range N/A len val N/A N/A N/A N/A typing append N/A val N/A i N/A N/A N/A self _execute N/A Command SEND_KEYS_TO_ELEMENT N/A value typing N/A is_displayed N/A N/A self N/A N/A N/A Whether the element would be visible to a user
         N/A N/A N/A N/A self _execute N/A Command IS_ELEMENT_DISPLAYED N/A value N/A location_once_scrolled_into_view N/A N/A self N/A N/A N/A CONSIDERED LIABLE TO CHANGE WITHOUT WARNING. Use this to discover where on the screen an
        element is so that we can click it. This method should cause the element to be scrolled
        into view.

        Returns the top lefthand corner location on the screen, or None if the element is not visible N/A N/A N/A N/A self _execute N/A Command GET_ELEMENT_LOCATION_ONCE_SCROLLED_INTO_VIEW N/A value N/A property size N/A N/A self N/A N/A N/A  Returns the size of the element  N/A size N/A N/A N/A self _execute N/A Command GET_ELEMENT_SIZE N/A value N/A new_size N/A N/A N/A new_size N/A height N/A size N/A height N/A N/A new_size N/A width N/A size N/A width N/A new_size N/A property value_of_css_property N/A N/A self property_name N/A N/A N/A  Returns the value of a CSS property  N/A N/A N/A N/A self _execute N/A Command GET_ELEMENT_VALUE_OF_CSS_PROPERTY N/A propertyName property_name N/A value N/A location N/A N/A self N/A N/A N/A  Returns the location of the element in the renderable canvas N/A old_loc N/A N/A N/A self _execute N/A Command GET_ELEMENT_LOCATION N/A value N/A new_loc N/A x y N/A old_loc N/A x N/A old_loc N/A y N/A new_loc N/A property parent N/A N/A self N/A N/A N/A  Returns parent element is available.  N/A N/A self _parent N/A property id N/A N/A self N/A N/A N/A  Returns internal id used by selenium. 
        
        This is mainly for internal use.  Simple use cases such as checking if 2 webelements 
        refer to the same element, can be done using '=='::
        
            if element1 == element2:
                print("These 2 are equal")

         N/A N/A self _id N/A property __eq__ N/A N/A self element N/A N/A N/A N/A N/A self _id N/A element id N/A N/A True N/A N/A N/A N/A N/A self _execute N/A Command ELEMENT_EQUALS N/A other N/A element id N/A value N/A _execute N/A N/A self command params N/A None N/A N/A Executes a command against the underlying HTML element.

        Args:
          command: The name of the command to _execute as a string.
          params: A dictionary of named parameters to send with the command.

        Returns:
          The command's JSON response loaded into a dictionary object.
         N/A N/A params N/A N/A params N/A N/A N/A params N/A id N/A self _id N/A N/A N/A N/A self _parent execute command params N/A find_element N/A N/A self by value N/A N/A By ID None N/A N/A N/A N/A N/A N/A By is_valid by N/A N/A isinstance value str N/A N/A N/A InvalidSelectorException Invalid locator values passed in N/A N/A N/A N/A self _execute N/A Command FIND_CHILD_ELEMENT N/A using value by value N/A value N/A find_elements N/A N/A self by value N/A N/A By ID None N/A N/A N/A N/A N/A N/A By is_valid by N/A N/A isinstance value str N/A N/A N/A InvalidSelectorException Invalid locator values passed in N/A N/A N/A N/A self _execute N/A Command FIND_CHILD_ELEMENTS N/A using value by value N/A value N/A _upload N/A N/A self filename N/A N/A N/A fp N/A StringIO N/A zipped N/A N/A zipfile ZipFile fp w N/A zipfile ZIP_DEFLATED N/A N/A N/A zipped write filename N/A N/A N/A N/A os path split filename N/A 1 N/A N/A N/A zipped close N/A N/A N/A N/A N/A N/A self _execute N/A Command UPLOAD_FILE N/A file N/A N/A base64 encodestring N/A N/A fp getvalue N/A value N/A N/A N/A WebDriverException N/A e N/A N/A N/A Unrecognized command: POST N/A N/A e __str__ N/A N/A filename N/A N/A N/A Command not found: POST  N/A N/A e __str__ N/A N/A filename N/A N/A N/A {"status":405,"value":["GET","HEAD","DELETE"]} N/A N/A e __str__ N/A N/A filename N/A N/A e N/A N/A LocalFileDetector N/A object N/A is_local_file N/A N/A cls N/A keys N/A N/A file_path N/A typing N/A N/A val keys N/A N/A N/A isinstance val Keys N/A N/A N/A N/A typing append val N/A N/A N/A isinstance val int N/A N/A val N/A N/A val __str__ N/A i N/A range N/A len val N/A N/A N/A N/A typing append N/A val N/A i N/A N/A i N/A range N/A len val N/A N/A N/A N/A typing append N/A val N/A i N/A file_path N/A N/A join typing N/A N/A file_path N/A N/A None N/A N/A N/A N/A N/A N/A os path isfile file_path N/A N/A file_path N/A N/A N/A N/A N/A None N/A classmethod N/A