I'm new to using Selenium. However, I am getting an error like this at the beginning. I tried the solutions found on the site but I still get the same error.
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
webdriver.Chrome(ChromeDriverManager().install())
driver_path = (r"C:\Users\win10\Desktop\Test\chromedriver_win32.exe")
browser = webdriver.Chrome(executable_path=driver_path)
Error Message:
selenium.common.exceptions.WebDriverException: Message: 'chromedriver_win32.exe' executable
needs to be in PATH.