0
I tested a simple code to make the webdriver open Chrome, and was successfully executed, but the code below not error, but does not open the browser.
from selenium.webdriver.common.keys import Keys
import time
class InstagramBOT:
def _init_(self, username, password):
self.username = username
self.password = password
self.driver = webdriver.Chrome(executable_path=r'C:\Program Files (x86)\chromedriver.exe')
def login(self):
driver = self.driver
driver.get('https://www.instagram.com/')
Raphaelbot = InstagramBOT('***', '***')
raphaelbot.login()
look at the webdriver version on your pc
– erick
The path is correct?
– hh22
What is the error message?
– Wellington Fonseca