How to Fix “java.io.IOException: Invalid Status code=403 text=Forbidden” Error for ChromeDriver 111

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome to test automation Central in this video we are going to discuss about Chrome driver initialization issue that is when we upgrade to the latest version of Chrome driver that is triple one then we are facing uh the initialization issue that is it is throwing uh invalid status code is equals to 403 text is equals to forbidden so to resolve this issue there are two ways the first one is to add a dependencies and then add a system properties and alternate ways to add the Chrome option that is options dot add arguments and hypheniper remote allow origin so first we will try with the dependencies fun so let me add a dependencies here then let's add a dependency and we will set the system part here so let's set the system part Now quickly run the test so this time it will work because we have added this yeah it has open so now we will try the other way that is uh before we do this we will remove this problem.xml and this one dependency and we will try with the Chrome option so we'll uh copy the entire code from here that is Chrome options then add options and when we need to pass the Chrome driver so let me copy paste the entire code and let's quickly run it so here we have to add the import cloud so as you can see it opened a Chrome driver without any issues thank you for watching test automation Center follow us first
Info
Channel: Test Automation Central
Views: 970
Rating: undefined out of 5
Keywords: selenium, seleniumwebdriver, chrome, chromedrover
Id: v75NFj9h0jw
Channel Id: undefined
Length: 2min 12sec (132 seconds)
Published: Thu Mar 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.