Selenium 4.11.0 Release with Chrome For Testing Browser || Chrome 115.x Issues Resolved ||New Change

  Рет қаралды 35,515

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Selenium 4.11.0 Release with Chrome For Testing Browser || Chrome 115.x Issues Resolved ||New Change
Schedule a meeting in case of any queries/guidance/counselling:
calendly.com/n...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/...
Naveen AutomationLabs Paid Courses:
GIT Hub Course:
naveenautomati...
Java & Selenium:
naveenautomati...
Java & API +POSTMAN + RestAssured + HttpClient:
naveenautomati...

Пікірлер: 93
@sheiksibgathulla1690
@sheiksibgathulla1690 6 ай бұрын
00:05 Selenium 4.11.0 release resolves Chrome 115.x issues. 02:06 Selenium 4.11.0 now supports Chrome 115.x for testing 06:18 Selenium will download Chrome driver.exe for specific browser versions. 08:31 Selenium will always use the available Chrome driver.exe version in your system for launching the regular browser. 12:48 Selenium 4.11.0 integrates Chrome driver handling for testing seamlessly. 14:53 Updating Chrome browser version to 116 with Selenium 18:59 Selenium 117 browser version issue with Chrome 115.x 20:50 Selenium 4.11.0 allows easy access to Chrome 116.x version for testing. 24:35 Using Co.setBinary method for CFT browser version 115 26:29 Selenium 4.11.0 Release allows testing on Chrome 115.x and other browsers 30:15 Understanding the launching of Chrome driver 116.exe 31:59 Encouragement for sharing video and seeking feedback
@nyanyalee1
@nyanyalee1 Жыл бұрын
Naveen, thanks for pioneering these latest updates from Selenium and Chrome. As well as raising those bugs. Your commitment to test automation is awesome. keep it up
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Thank you 🙏
@MohammedHowlader
@MohammedHowlader Жыл бұрын
Hi Naveen! This is Mohammed Howlader from New York. I can't wait to offer my acknowledgement to you. It's an imaginary tutorial released by you. Last week I was not able to execute my script at my work. I was searching for a solution in KZbin and Google. I found your video. Such an inspirational work done by you. I used your code in scripts and it worked. Thank you Naveen. Please keep producing new videos like this. By the way , I have found more videos created by you that cleared my blockers previously. I personally salute your teachings. -Mohammed
@ashwinigadekar3604
@ashwinigadekar3604 Жыл бұрын
thank you for your timely updates Naveen on different automation issues .
@richarddartt6210
@richarddartt6210 Жыл бұрын
Awesome effort Naveen! You smoothly eliminated months of struggle with the Google driver shell game. Much appreciated that I can get back to productive coding instrad of Band-aiding my scrapers.
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Thanks Richard. Glad that it is helpful.
@mosinkhan410
@mosinkhan410 Жыл бұрын
Thank you Naveen for the explanation. It really helped me fixing my framework and now it opens 116 verion browser through Selenium manager.
@dinhnguyen9056
@dinhnguyen9056 Жыл бұрын
Thanks. This is the only video I can find how to launch Chrome For Testing.
@helloramesh6193
@helloramesh6193 Жыл бұрын
when i got a problem i will search this channel first love u
@balajibhadre6627
@balajibhadre6627 Жыл бұрын
@Naveen, Thank you and very informative, appreciate your dedicated and effort to provide information on latest changes on selenium.
@deep80105
@deep80105 Жыл бұрын
Thanks for the video. Gave much clarity around Chrome for testing things going around nowadays
@RajibLama
@RajibLama Жыл бұрын
Thank you Naveen for beautifully explanation about CFT browser. ❤❤
@RahulKumar-iv4tf
@RahulKumar-iv4tf Жыл бұрын
Thanks Naveen for demonstrating CFT related change in new selenium versions. We generally test our application on stable version of chrome browser, why we need Future chrome browser to test the application. Please create seperate video on this. Thanks against
@GurudattaPraharaj
@GurudattaPraharaj Жыл бұрын
Thanks Naveen, Could you please let us know docker impact ? Do we need any code changes ?
@ajayvavhal16
@ajayvavhal16 Жыл бұрын
Hello Naveen, No need to downlod CFT 115 version on your machine, just used set binary and passed the version i.e. 115 and run. CFT browser will open current version which is downloaded on your machine.. I have tried the same and it works.
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Please watch the full use case. If you need to run script on CFT chrome with 115. You have to download it and set the binary else it will be always open the regular 115 browser.
@ajayvavhal16
@ajayvavhal16 Жыл бұрын
@@naveenautomationlabs Yes, watched fully video, and I haven't downloaded CFT of current version, I simply wrote op.SetBinary(115) and passing current version which I have and run, then CFT browser opened.
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Then it should not as per selenium team.
@shubhamagarwal4278
@shubhamagarwal4278 Жыл бұрын
Thanks Naveen for clearing this out. I am facing NoSuchDriverExceptiom issue with the same code due to woking in the Proxy environment. Any solution for this ?
@ArjunSingh-wg4ig
@ArjunSingh-wg4ig Жыл бұрын
Hi Navin, what would be the role of WebDriverManger library now, will they also release WDM new version as per latest selenium 4.11.0 or we can rely on SeleniumManager directly.
@pspiro
@pspiro Жыл бұрын
Thank you for saving me tons of time
@SimplicityVlogs
@SimplicityVlogs Жыл бұрын
Hi Naveen, I'm using serenity bdd cucumber... For that also I'm facing issue ...what changes I need to do?
@samchannel2125
@samchannel2125 Жыл бұрын
Hi Navin, can we achieve the same result using serenity if so please let me know how can I handle the upgrade in browser so that it handlee the driver version
@vaishnavikulkarni5117
@vaishnavikulkarni5117 Жыл бұрын
Thank you so much naveen sir👍
@sreejishnu8226
@sreejishnu8226 Жыл бұрын
Hi Naveen, thanks for the video. Have a question here, we are using selenium 3.141.59 , java 8 and wevdrivermanager 5.3.3 for automated driver management. So now our tests are failing as the chrome on the machine is v116 and tests uses chromedriver 114 and thus browser get closed as soon as it is invoked. At this moment, we dont want to upgrade selenium to 4.11.0, but how do we make the tests to run fine in this case? Note I have tried upgrading webdrivermanagee to 5.4.1, but it looks like it needs java 11. Your thoughts please. Thanks.
@misakirachu
@misakirachu Жыл бұрын
Facing the same issue. One possible option is to downgrade the chrome version on the machine to v114 or below. Then it shouldn't have any problem. But eventually you would have to consider upgrading everything
@kushagranalwaya
@kushagranalwaya Жыл бұрын
How to call browser version in Python? I tried co.setBrowserVersion(“116”) it says: ‘Options’ object has no attribute ‘setBrowserVersion’. Did you mean: ‘browser_version’? So I tired using ‘browser_version’ which now throws an error: TypeError: ‘NoneType’ object is not callable Also, I checked the official documentation of python, for browser version it says to use ‘browserVersion’ but unfortunately it shows the same error: ‘Options’ object has no attribute ‘browserVersion’. Did you mean: ‘browser_version’? Can you please help?
@BugHunterMdSam
@BugHunterMdSam Жыл бұрын
Thanks for the clear demonstration.
@mizanur968
@mizanur968 Жыл бұрын
Great information, loved it. btw will this work on Selenium grid? Can you please share how to use this in the node machine? Thanks in advance.
@mizanur968
@mizanur968 Жыл бұрын
nvm, I got the answer, Yes this will work on Selenium grid and we have to use below command in the node machine: java -jar selenium-server-4.11.0.jar node --max-sessions 1 --selenium-manager true --publish-events tcp://{hub-ip-address}:4442 --subscribe-events tcp://{hub-ip-address}:4443
@alexandrutosa4292
@alexandrutosa4292 Жыл бұрын
Hi Naveen! Will this work with apple silicone Macs?
@online_business_pokhara
@online_business_pokhara Жыл бұрын
So you mean From. Now we don't need to download chromedriver manually each time new chrome driver is available on chromium web page ??? Is selenium manager a different package or selenium manager comes while pip install selenium
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
This feature was already there since Selenium 4.6.0 with Selenium Manager. SM is the inbuilt native feature of Selenium. It will manage all the drivers automatically. No need to download.
@jissgeorge6001
@jissgeorge6001 Жыл бұрын
Thanks for the information Naveen. This is working fine for me in mac and windows os but in linux I am facing chrome crash error. Is there any issue with linux
@SmarakRanjanRout
@SmarakRanjanRout Жыл бұрын
Very informative, with WDM we have the option to set the proxy so that binary gets downloaded. With the Selenium Manager is there any way where we can set the proxy so that the browser binaries gets downloaded behind the proxy firewall?
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
I think this is still in progress. github.com/orgs/SeleniumHQ/projects/5/views/1
@sujeetkumar-dt7xk
@sujeetkumar-dt7xk Жыл бұрын
Excellent explanation 😊
@swarytamberker
@swarytamberker Жыл бұрын
Thanks for the video Naveen. It is informative as always. Question- I am still using Selenium 3 in my project and WebDriverManager to manage my driver versions. It looks like WDM is ineffective with introduction of CFT. So does it mean I have to upgrade to Selenium 4 inevitably if I have to manage my drivers?
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Yes, WDM is not having this feature as of now. So better to upgrade it to 4.11.0 version
@mohatShil
@mohatShil Жыл бұрын
What about playwright and cypress using cft? On playwright it automatically updated to 115.x if you can kindly clarify that. Appreciate your work :)
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
PW doesn't use drivers. But CFT should be applied on PW as well. I'll prepare a separate video on this.
@RajaRam-id6sl
@RajaRam-id6sl Жыл бұрын
Hi Naveen, Does Selenium Manager 4.11 will work with Java 8 ? or Do we need to upgrade to Java 11
@sudhakarrajunibhanupudi5331
@sudhakarrajunibhanupudi5331 Жыл бұрын
Hi Naveen, So if we are using any lower version of Selenium (
@NagarajCruze
@NagarajCruze Жыл бұрын
Yes
@yogiscreations
@yogiscreations Жыл бұрын
Hi Naveen, Same program I have executed for version 115 on my mac machine but not able to find, where that chromedriver.exe file get stored??
@ashishmishra2167
@ashishmishra2167 Жыл бұрын
Hi Naveen, I just tried this today, my regular Chrome version is 116. I wanted to launch CFT browser. I downloaded the Chrome Binary as well and gave the path in setBinary as well, but this is still launching the regular browser. Am i doing something wrong. My Selenium version is latest, 4.11.0 as well.
@khushgoyal3099
@khushgoyal3099 Жыл бұрын
Hey Naveen, I am trying to use 115 chrome version(headless mode) with java 17 in AWS EC2 linux instance , but it is throwing me error that element not found (sign in google button). I tried many times sometimes it matches the element , sometimes it doesnt. Did you ever encounter any situation like this ?? Please let me know as I am stuck from many days trying to figure out what could be the issue with headless chrome. in linux but not able to find anything. (PS- my code is working fine in linux system , and my local machine. It is just linux jenkins where it is not able to detect the signin button)
@YougotFire
@YougotFire Жыл бұрын
Thank you very much sir
@KarthikJambagi
@KarthikJambagi Жыл бұрын
@Naveen I did as u said in the video... Its working fine but the browser gets opened thrice... Pls help me out
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
show me code here.
@the_nextdoor_couple
@the_nextdoor_couple 9 ай бұрын
Hi Naveen , I was automating a cucumber test case wherein in step definition I had to launch chrome as login functionality . I am using latest selenium dependency of 4.16.0 in pom.xml but in my cache folder no folders for browser is being created. I see only "Tooling" folder. In external jar I can see selenium manager is there with .exe file. Can you suggest how can we resolve it.
@r.ambikaraja3120
@r.ambikaraja3120 10 ай бұрын
Hi Naveen, i am using selenium 4.10.2 and my edge browser ver 119 and chrome ver 120 bit unable to launch the session.getting error
@abhilashsingh6334
@abhilashsingh6334 Жыл бұрын
Thankyou for the video
@MdAamir-y1m
@MdAamir-y1m 10 ай бұрын
can you help out with 119 chrome version , its showing error in selenium CDP version not matching.
@maryjohnm8477
@maryjohnm8477 11 ай бұрын
Hi Naveen, how can this be implemented using python?
@NooneYT2015
@NooneYT2015 Жыл бұрын
Just after this upgrade, my test scripts are failing for element not found exceptions. I'm exhausted everything was working well before. Any pointers anyone???
@santhoshv561
@santhoshv561 Жыл бұрын
Hi Naveen, i keep getting the error OSError [Erorr 86] Bad CPU Type in executable, while trying to download the chrome driver and chrome, using macbook m2 pro with 13.3 OS, any suggestions?
@RR-zb2rg
@RR-zb2rg 9 ай бұрын
how does it works with cicd pipelines?
@namdeojagtap5521
@namdeojagtap5521 Жыл бұрын
Sir please show syntax for C# also
@muditagarwal2290
@muditagarwal2290 Жыл бұрын
Hello Naveen , I am using the old Selenium version 3.141.59 . Last week i was unable to run tests on chrome version 115.0.5790.99 so i decided to upgrade to Selenium 4.11.0 but today i noticed that i am able to run tests on chrome version 115.0.5790.99. Any possible reasons ? Have they made the version 3.141.59 compatible with Chrome v. 115?
@NagarajCruze
@NagarajCruze Жыл бұрын
Nope. You please check your selenium version as if you really have 3.141 it may be 4.11.
@chintuchin5824
@chintuchin5824 Жыл бұрын
How to do in vba macro as I am having chrome version 117 and getting error " run time error 33" ?
@samirabaza
@samirabaza 9 ай бұрын
same case here , let me know if you find a solution
@rv1805
@rv1805 Жыл бұрын
Hi Naveen, if my system chrome updated to 116 and if the driver is downloaded from the new dashboard and I don't have CFT in my machine.will the test execute using my PC's chrome ?
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Yes it will use the normal regular chrome browser
@rv1805
@rv1805 Жыл бұрын
@@naveenautomationlabs thank you so I confirm here chrome for testing browser is not mandatory
@sachinnaik4508
@sachinnaik4508 Жыл бұрын
This same code is not working on MAC with 4.11.0....
@saurabharya172
@saurabharya172 Жыл бұрын
if my current browser version is 116 on my local and i want to use 115. is it possible ?
@NagarajCruze
@NagarajCruze Жыл бұрын
Yes. Either manually do or set the browser version as your desired version and selenium manager will take care rest.
@AmitPawar-q7v
@AmitPawar-q7v Жыл бұрын
Hi Naveen, thanks for this latest update. Question- I am using selenium manager but when I execute my script, chromedriver exe file is not automatically getting generating in path "C:\Users\Admin\.cache\selenium". Because of that not able to launch chrome version. Getting error "org.openqa.selenium.remote.service.DriverService findExecutable WARNING: Unable to obtain driver using Selenium Manager: Error running command: [C:\Users\Admin\AppData\Local\Temp\selenium-manager14830861289925001959182970292188511\selenium-manager.exe, --driver, chromedriver]". It works for Firefox browser perfectly. Facing issue for Chrome browser only. Could you please help me to solve this ?
@sairajkale1405
@sairajkale1405 10 ай бұрын
I am facing a big problem with jenkins when i am using SeleniumManager. It downloads chromedriver exe into jenkins .cache folder and null pointer execption occurs....When i run it locally it works smoothly.
@surwase1
@surwase1 Жыл бұрын
@Naveen - It may be working for normal WebDriver but it is not working for ThreadLocal driver. Please check yourself and with Selenium Team. ChromeOptions opt = new ChromeOptions(); opt.setBrowserVersion("115"); DriverManager.setDriver(new ChromeDriver(opt)); private static ThreadLocal dr = new ThreadLocal(); public static void setDriver(WebDriver driverref) { dr.set(driverref); dr.get().manage().window().maximize(); }
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
working for me with ThreadLocal.
@surwase1
@surwase1 Жыл бұрын
@@naveenautomationlabs - gettting error although it has downloaded chromedriver and chrome. Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location C:\Users\ssurwas\.cache\selenium\chrome\win64\115.0.5790.170\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Host info: host: 'SHI58495EU1430G', ip: '172.28.98.197' Build info: version: '4.11.0', revision: '040bc5406b' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_11' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, browserVersion: 115, goog:chromeOptions: {args: [--remote-allow-origins=*], binary: C:\Users\ssurwas\.cache\sel..., extensions: []}}]}] at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:518) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:232) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:159) at org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:108) at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:88) at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:83) at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:72) at com.servicelive.util.LocalDriver.main(LocalDriver.java:14)
@harshadapatil2877
@harshadapatil2877 Жыл бұрын
I am using selenium 4.10.0 and My chrome Version is 116.0.5845.111 what command should I use to run automation Script on regular browser and what files I have to install.
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Upgrade it to 4.11.0
@quintonrichards4805
@quintonrichards4805 11 ай бұрын
Can you show how to set this up with Python please?
@parshiphani1283
@parshiphani1283 Жыл бұрын
this is my chrome version 116.0.5845.97 can anyone help me to find webdrivers for this version
@balajiramamurthy9417
@balajiramamurthy9417 Жыл бұрын
I was able to get CFT working on mac-arm-64, M1 MBP. @Naveen
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
cool
@Vaurg
@Vaurg Жыл бұрын
Can you help me with that pls? No matter what I do it opens my regular chrome browser (v115). I've downloaded the CFT 115 and set the binary, but it still opens my regular chrome browser
@naveenautomationlabs
@naveenautomationlabs Жыл бұрын
Make sure you are passing chrome options object reference to chrome driver object.
@Vaurg
@Vaurg Жыл бұрын
@@naveenautomationlabs I'm sorry, i'm new to this. If you are talking about co.setBinary(path), then I did it, and it still doesn't work
@revathikamaraj6650
@revathikamaraj6650 Жыл бұрын
When I changed to 4.11.0 version [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ Aim --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ Aim --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See www.slf4j.org/codes.html#noProviders for further details. null com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) [Guice/ErrorInjectingConstructor]: NoClassDefFoundError: org/openqa/selenium/interactions/HasInputDevices at WebdriverCloseBrowser.(WebdriverCloseBrowser.java:22) while locating WebdriverCloseBrowser at WebDriverModule.configure(WebDriverModule.java:20) while locating CloseBrowser Learn more: github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR 1 error ====================== Full classname legend: ====================== CloseBrowser: "net.thucydides.core.webdriver.CloseBrowser" WebDriverModule: "net.thucydides.core.guice.webdriver.WebDriverModule" WebdriverCloseBrowser: "net.thucydides.core.webdriver.WebdriverCloseBrowser" ======================== End of classname legend: ======================== I checked in my script whether I am using the HasInputDevice. But I didn't found anything. I think it is indirectly using HasInputDevice. I know this method is deprecated in selenium 4.11.0 but I don't know how to solve?
@NitinKumar-xm7hu
@NitinKumar-xm7hu Жыл бұрын
Thanks for such wonderfull video on new chromedriver release. Just yesterday I've used 115 & it was something new for me. But one major warning I'm getting while launching it is "[1691574591.416] [SEVERE]: Unable to receive message from renderer " . Is anyone else getting this? How exactly to resolve this?
How to Become Genius in XPath in Selenium  - Session -18
39:48
Naveen AutomationLabs
Рет қаралды 722 М.
когда не обедаешь в школе // EVA mash
00:51
EVA mash
Рет қаралды 4,3 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 7 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
JAVA 8 to JAVA 11 with Selenium WebDriver | Java 11 Setup With Selenium
22:34
Naveen AutomationLabs
Рет қаралды 21 М.
No More Chromedriver Mismatch! Update Your WebdriverIO Project Now | Chrome 115+
21:12
SDET Unicorns by Dilpreet Johal
Рет қаралды 16 М.
How I Scrape Data with Multiple Selenium Instances
12:06
John Watson Rooney
Рет қаралды 13 М.
How to Use Selenium, TestNG With Gradle (Build Automation Tool)
33:52
Naveen AutomationLabs
Рет қаралды 14 М.
когда не обедаешь в школе // EVA mash
00:51
EVA mash
Рет қаралды 4,3 МЛН