How to handle SessionNotCreatedException ? | How to download Chromedriver ?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so hello everyone this is Mr Prem today we are going to discuss how to handle session not created exception for Chrome browser and if you're facing problem with the Chrome browser version 116 or you are looking for Chrome driver 116 version then this video is for you okay everyone so without wasting time let's go to the our program one program I have created you can see this is my program and if I run this program you will be getting exception like session not created exception you will be getting session not created exception so it's running and it you can see some exception occurred in my program and here you can see the exception session not created exception okay and here it is written the education not created what is the reason this version of Chrome driver only supports Chrome version 114. and which version of Chrome browser we are using I am using 116. so this is the pure issue of browser in compatibility what is a version of my Chrome browser it's 116 and what is a version of my Chrome driver that is 114 it's a problem of version incompatibility between Chrome driver and Chrome browser now let's see how we can change our version of Chrome driver okay so on internet if you look for Chrome driver download let's look for Chrome driver download you will getting very first link of chrome driver.chromium.org if you click on this on this page only they have given the link for new Chrome driver that is 116. you can see in the red it is written if you are using Chrome version 115 or newer then you have to click on this it will move to the page where Chrome driver 116 is situated if you click on this you need to go little down in the stable section you will find two Chrome driver one is for Windows 32 and one is for Windows 64. depends upon your version you can download respect to Chrome driver so what I will do I will copy this link and I will open in new tab the Chrome driver then it will be what get downloaded and you can see it has downloaded the Chrome driver win32 now you need to go into the downloaded folder you need to click on show in folder and you need to right click and unzip it if you go inside Chrome driver win 32 go a little more inside this is our Chrome driver if you double click then if you get to know the what is the version of Chrome driver you can see my Chrome driver version is what one one six so what I need to do then I need to copy it and I need to paste into the our existing project so this is my project and I kept my driver inside the drivers folder so I will right click and paste here it will ask for override then I will click on overwrite okay so now if you run your program then it will run successfully you can see it has launched the Chrome browser it will open my website magnetic automation.in okay and you can see in the console it will print the title of my page okay I will be giving this URL in the description of the video thank you everyone for watching this video have a great day
Info
Channel: Magnetic Automation and Learnings
Views: 3,378
Rating: undefined out of 5
Keywords:
Id: ypkzNT2xg6M
Channel Id: undefined
Length: 4min 21sec (261 seconds)
Published: Sun Aug 27 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.