Jonty16117 / shopping_bot

MIT License
3 stars 0 forks source link

try webdriver manager #4

Open nithintata22 opened 3 years ago

nithintata22 commented 3 years ago

install webdriver_manager using pip. with webdriver_manager there is no need to download chromedriver. manager detects your chrome version and installs the driver accordingly.

from selenium.webdriver.chrome.options import Options
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(ChromeDriverManager().install(),options=options)
Jonty16117 commented 3 years ago

Can u make a contribution?

Jonty16117 commented 3 years ago

Just make a pull request 👍