2차전지주 TOP 10 핵심정리
https://chosunstock.com/2%ec%b0%a8%ec%a0%84%ec%a7%80%ec%a3%bc-top-10-%ed%95%b5%ec%8b%ac%ec%a0%95%eb%a6%ac?feed_id=871&_unique_id=65d37dbf8927f
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
# Step 1) Open Firefox
browser = webdriver.Firefox()
# Step 2) Navigate to Facebook
browser.get("http://www.facebook.com")
# Step 3) Search & Enter the Email or Phone field & Enter Password
username = browser.find_element_by_id("email")
password = browser.find_element_by_id("pass")
submit = browser.find_element_by_id("loginbutton")
username.send_keys("you@email.com")
password.send_keys("yourpassword")
# Step 4) Click Login
submit.click()
코드 설명