from selenium import webdriver import time browser=webdriver.Edge("C:/Users/senem/Desktop/selenium/msedgedriver.exe") browser.get("https://www.instagram.com/") time.sleep(13) username=webdriver.Edge.find_element_by_name("username") password=webdriver.Edge.find_element_by_name("password") username.send_keys("user") password.send_keys("password") time.sleep(10) browser.close()
Hello to everyone. This is error message. Can you help me about it?
Traceback (most recent call last): File "C:/Users/senem/PycharmProjects/denemefibo/instagram.py", line 8, in <module> username=webdriver.Edge.find_element_by_name("name=username") TypeError: find_element_by_name() missing 1 required positional argument: 'name'
find_element_by_name
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)