lement-method-selenium-python/?ref=lbp)
    * [ get_property() element method - Selenium Python ](https://www.geeksforgeeks.org/get_property-element-method-selenium-python/?ref=lbp)
    * [ get_attribute() element method - Selenium Python ](https://www.geeksforgeeks.org/get_attribute-element-method-selenium-python/?ref=lbp)
    * [ send_keys() element method - Selenium Python ](https://www.geeksforgeeks.org/send_keys-element-method-selenium-python/?ref=lbp)
    * [ click() element method - Selenium Python ](https://www.geeksforgeeks.org/click-element-method-selenium-python/?ref=lbp)
    * [ clear() element method - Selenium Python ](https://www.geeksforgeeks.org/clear-element-method-selenium-python/?ref=lbp)
    * [ screenshot() element method - Selenium Python ](https://www.geeksforgeeks.org/screenshot-element-method-selenium-python/?ref=lbp)
    * [ submit() element method - Selenium Python ](https://www.geeksforgeeks.org/submit-element-method-selenium-python/?ref=lbp)
    * [ value_of_css_property() element method - Selenium Python ](https://www.geeksforgeeks.org/value_of_css_property-element-method-selenium-python/?ref=lbp)
    * [ location element method - Selenium Python ](https://www.geeksforgeeks.org/location-element-method-selenium-python/?ref=lbp)
    * [ screenshot_as_png element method - Selenium Python ](https://www.geeksforgeeks.org/screenshot_as_png-element-method-selenium-python/?ref=lbp)
    * [ parent element method - Selenium Python ](https://www.geeksforgeeks.org/parent-element-method-selenium-python/?ref=lbp)
    * [ size element method - Selenium Python ](https://www.geeksforgeeks.org/size-element-method-selenium-python/?ref=lbp)
    * [ tag_name element method - Selenium Python ](https://www.geeksforgeeks.org/tag_name-element-method-selenium-python/?ref=lbp)
    * [ text element method - Selenium Python ](https://www.geeksforgeeks.org/text-element-method-selenium-python/?ref=lbp)
    * [ rect element method - Selenium Python ](https://www.geeksforgeeks.org/rect-element-method-selenium-python/?ref=lbp)
    * [ screenshot_as_base64 element method - Selenium Python ](https://www.geeksforgeeks.org/screenshot_as_base64-element-method-selenium-python/?ref=lbp)

##  Project Examples

    * [ Browser Automation Using Selenium ](https://www.geeksforgeeks.org/browser-automation-using-selenium/?ref=lbp)
    * [ Facebook Login using Python ](https://www.geeksforgeeks.org/facebook-login-using-python/?ref=lbp)
    * [ Python | Automating Happy Birthday post on Facebook using Selenium ](https://www.geeksforgeeks.org/python-automating-happy-birthday-post-on-facebook-using-selenium/?ref=lbp)
    * [ How to access popup login window in selenium using Python ](https://www.geeksforgeeks.org/how-to-access-popup-login-window-in-selenium-using-python/?ref=lbp)
    * [ Python | SMS Bomber using Selenium ](https://www.geeksforgeeks.org/python-sms-bomber-using-selenium/?ref=lbp)

#  find_element(By.Name) driver method – Selenium Python

Improve

__

  *   *   * 

__ Improve

Like Article

__ Like

__ Save

__ Share

__ Report

Selenium’s Python Module is built to perform automated testing with Python.
Selenium Python bindings provide a simple API to write functional/acceptance
tests using Selenium WebDriver. After you have installed selenium and checked
out – [ Navigating links using get method
](https://www.geeksforgeeks.org/navigating-links-using-get-method-selenium-
python/) , you might want to play more with Selenium Python. After one has
opened a page using selenium such as geeks for geeks, one might want to click
some buttons automatically or fill a form automatically or any such automated
task.  
This article revolves around how to grab or locate elements in a webpage using
locating strategies of Selenium Web Driver. More specifically,
find_element_by_name() is discussed in this article  
**Syntax –**

    
    
    driver.find_element(By.NAME, "name_of_element")

**Example –**  
For instance, consider this page source:

#