junichironakashima
Established
File for chromedriver
pip install selenium
from selenium import webdriver
# Path to the Chromedriver executable
chromedriver_path = '/path/to/chromedriver'
# Create a new instance of the Chrome driver
driver = webdriver.Chrome(executable_path=chromedriver_path)
# Open a website
driver.get('https://www.example.com')
# Perform actions on the website
# For example, get the page title
print(driver.title)
# Close the browser
driver.quit()
'/path/to/chromedriver' with the actual path where you have saved the Chromedriver executable.