Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scrape website with login python selenium

driver.get("https://news.ycombinator.com/login")

login = driver.find_element_by_xpath("//input").send_keys(USERNAME)
password = driver.find_element_by_xpath("//input[@type='password']").send_keys(PASSWORD)
submit = driver.find_element_by_xpath("//input[@value='login']").click()
Source by www.scrapingbee.com #
 
PREVIOUS NEXT
Tagged: #scrape #website #login #python #selenium
ADD COMMENT
Topic
Name
3+4 =