I am Trying to run a selenium script but it is not able to detect the chromedriver can anyone please help me on this when i try to run it it gives me an error stating that chromedriver is not present in the specific path however i have downloaded and kept it on the specific path
below is the snap and code for reference.
booking.py
import booking.constants as const
from selenium import webdriver
class Booking(webdriver.Chrome):
def __init__(self , driver_path = "C:\\chromedriver.exe"):
self.driver_path = driver_path
super(Booking, self).__init__()
def land_first_page(self):
self.get(const.BASE_URL)
run.py //running this pythonfile in my editor
from booking.booking import Booking
inst = Booking()
inst.land_first_page()