How to fix Chrome browser 111.0.* issue Invalid Status code=403 text=Forbidden with Selenium 4.x.x

preview_player
Показать описание
In this video, we will see when "Invalid Status code=403 text=Forbidden" is occured and how to fix the same issue with one of the ChromeOptions available.

Below is excerpt of the issue from eclipse console which we get when launch the selenium test on ChromeBrowser 111 with Selenium 4.8.1 jar/binaries.

ChromeDriver was started successfully.
WARNING: Invalid Status code=403 text=Forbidden

Build info: version: '4.8.1', revision: '8ebccac989'

Hope this info was useful; Please do subscribe to this "SDET Adda For QA Automation" Channel for more videos and thanks for watching.

Selenium 4 and TestNG Tutorial playlist:

#seleniumframework #seleniumwebdriver #chromium #chromedriver #chromeissue #chromedriverissue #403 #403issuewithselenium4 #403chromeissue #interview #crackinterview #seleniuminterviewquestions #testng
Рекомендации по теме
Комментарии
Автор

Top man !! You spared me a lot of time. Thanks

patriquej
Автор

It was indeed an useful info. Thanks for saving my time.

testingx
Автор

is this going to be extra lines of codes we will always have to type before using chromedriver from now on? or will a new update fix it

TheYaseenh