pip install webdriver-manager
(by https://pypi.org/project/webdriver-manager/)
from webdriver_manager.chrome import ChromeDriverManager
chrome_options = webdriver.ChromeOptions()
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options)
0 댓글