I was trying to implement a simple bot in python which increases Instagram followers. This is what I was trying-> https://towardsdatascience.com/increase-your-instagram-followers-with-a-simple-python-bot-fde048dce20d During the process, I installed chromedriver as specified in the above-mentioned post and included the path of it in the webdriver.chrome but I am getting an error stating "WebDriverException: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home"
I tried everything which was mentioned in this StackOverflow post ->Error message: "'chromedriver' executable needs to be available in the path" but to no avail. Kindly find my code below and help me sort this error. Thanks in advance
import pandas as pd
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from time import sleep, strftime
from random import randint
#driver=webdriver.Chrome("C:/Users/Users/Downloads/chromedriver_win32/chromedriver.exe")chromedriver_path="C:/Users/Users/Downloads/chromedriver_win32/chromedriver.exe"
webdriver = webdriver.Chrome(executable_path = chromedriver_path)
sleep(2)
webdriver.get('https://www.instagram.com/accounts/login/?source=auth_switcher')
sleep(3)