Permission error

Im getting this error while trying to use webdriver in selenium “executable_path has been deprecated, please pass in a Service object”

Hello @kapooraditya119,
First ensure that upgraded version of selenium and web driver version is installed if not do it using pip install command.
Then try using instance of Service class along with ChromeDriverManager().install() command. browser=webdriver.Chrome(service=Service(ChromeDriverManager().install()))

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.