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

Ғылым және технология

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/naveenautomation...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzread.info%20Au...
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/9FrG-KzGlvxjNmQ1
Naveen AutomationLabs Paid Courses:
GIT Hub Course:
naveenautomationlabs.com/gitc...
Java & Selenium:
naveenautomationlabs.com/sele...
Java & API +POSTMAN + RestAssured + HttpClient:
naveenautomationlabs.com/manu...

Пікірлер: 92

  • @sheiksibgathulla1690
    @sheiksibgathulla16902 ай бұрын

    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

  • @deep80105
    @deep8010510 ай бұрын

    Thanks for the video. Gave much clarity around Chrome for testing things going around nowadays

  • @ashwinigadekar3604
    @ashwinigadekar36049 ай бұрын

    thank you for your timely updates Naveen on different automation issues .

  • @balajibhadre6627
    @balajibhadre66279 ай бұрын

    @Naveen, Thank you and very informative, appreciate your dedicated and effort to provide information on latest changes on selenium.

  • @nyanyalee1
    @nyanyalee110 ай бұрын

    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

    10 ай бұрын

    Thank you 🙏

  • @MohammedHowlader
    @MohammedHowlader9 ай бұрын

    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 KZread 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

  • @mosinkhan410
    @mosinkhan4109 ай бұрын

    Thank you Naveen for the explanation. It really helped me fixing my framework and now it opens 116 verion browser through Selenium manager.

  • @dinhnguyen9056
    @dinhnguyen90569 ай бұрын

    Thanks. This is the only video I can find how to launch Chrome For Testing.

  • @richarddartt6210
    @richarddartt62108 ай бұрын

    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

    8 ай бұрын

    Thanks Richard. Glad that it is helpful.

  • @RajibLama
    @RajibLama9 ай бұрын

    Thank you Naveen for beautifully explanation about CFT browser. ❤❤

  • @BugHunterMdSam
    @BugHunterMdSam10 ай бұрын

    Thanks for the clear demonstration.

  • @GurudattaPraharaj
    @GurudattaPraharaj10 ай бұрын

    Thanks Naveen, Could you please let us know docker impact ? Do we need any code changes ?

  • @RahulKumar-iv4tf
    @RahulKumar-iv4tf10 ай бұрын

    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

  • @helloramesh6193
    @helloramesh61939 ай бұрын

    when i got a problem i will search this channel first love u

  • @ArjunSingh-wg4ig
    @ArjunSingh-wg4ig10 ай бұрын

    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.

  • @vaishnavikulkarni5117
    @vaishnavikulkarni51179 ай бұрын

    Thank you so much naveen sir👍

  • @alexandrutosa4292
    @alexandrutosa429210 ай бұрын

    Hi Naveen! Will this work with apple silicone Macs?

  • @pspiro
    @pspiro8 ай бұрын

    Thank you for saving me tons of time

  • @abhilashsingh6334
    @abhilashsingh633410 ай бұрын

    Thankyou for the video

  • @PRAVEENKUMAR-kc9bl
    @PRAVEENKUMAR-kc9bl10 ай бұрын

    Thank you very much sir

  • @SimplicityVlogs
    @SimplicityVlogs9 ай бұрын

    Hi Naveen, I'm using serenity bdd cucumber... For that also I'm facing issue ...what changes I need to do?

  • @khushgoyal3099
    @khushgoyal30999 ай бұрын

    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)

  • @sujeetkumar-dt7xk
    @sujeetkumar-dt7xk9 ай бұрын

    Excellent explanation 😊

  • @RajaRam-id6sl
    @RajaRam-id6sl10 ай бұрын

    Hi Naveen, Does Selenium Manager 4.11 will work with Java 8 ? or Do we need to upgrade to Java 11

  • @shubhamagarwal4278
    @shubhamagarwal42789 ай бұрын

    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 ?

  • @samchannel2125
    @samchannel21259 ай бұрын

    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

  • @yogiscreations
    @yogiscreations9 ай бұрын

    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??

  • @swarytamberker
    @swarytamberker10 ай бұрын

    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

    10 ай бұрын

    Yes, WDM is not having this feature as of now. So better to upgrade it to 4.11.0 version

  • @the_nextdoor_couple
    @the_nextdoor_couple4 ай бұрын

    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.

  • @user-uo8fd7mw9p
    @user-uo8fd7mw9p6 ай бұрын

    can you help out with 119 chrome version , its showing error in selenium CDP version not matching.

  • @sudhakarrajunibhanupudi5331
    @sudhakarrajunibhanupudi533110 ай бұрын

    Hi Naveen, So if we are using any lower version of Selenium (

  • @NagarajCruze

    @NagarajCruze

    10 ай бұрын

    Yes

  • @jissgeorge6001
    @jissgeorge60019 ай бұрын

    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

  • @ashishmishra2167
    @ashishmishra21679 ай бұрын

    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.

  • @sreejishnu8226
    @sreejishnu82269 ай бұрын

    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

    9 ай бұрын

    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
    @kushagranalwaya9 ай бұрын

    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?

  • @r.ambikaraja3120
    @r.ambikaraja31205 ай бұрын

    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

  • @santhoshv561
    @santhoshv5619 ай бұрын

    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?

  • @ajayvavhal16
    @ajayvavhal1610 ай бұрын

    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

    10 ай бұрын

    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

    10 ай бұрын

    @@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

    10 ай бұрын

    Then it should not as per selenium team.

  • @online_business_pokhara
    @online_business_pokhara10 ай бұрын

    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

    10 ай бұрын

    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.

  • @RR-zb2rg
    @RR-zb2rg5 ай бұрын

    how does it works with cicd pipelines?

  • @SmarakRanjanRout
    @SmarakRanjanRout10 ай бұрын

    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

    10 ай бұрын

    I think this is still in progress. github.com/orgs/SeleniumHQ/projects/5/views/1

  • @maryjohnm8477
    @maryjohnm84776 ай бұрын

    Hi Naveen, how can this be implemented using python?

  • @mizanur968
    @mizanur9689 ай бұрын

    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

    9 ай бұрын

    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

  • @mohatShil
    @mohatShil10 ай бұрын

    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

    10 ай бұрын

    PW doesn't use drivers. But CFT should be applied on PW as well. I'll prepare a separate video on this.

  • @NooneYT2015
    @NooneYT20159 ай бұрын

    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???

  • @muditagarwal2290
    @muditagarwal229010 ай бұрын

    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

    10 ай бұрын

    Nope. You please check your selenium version as if you really have 3.141 it may be 4.11.

  • @saurabharya172
    @saurabharya17210 ай бұрын

    if my current browser version is 116 on my local and i want to use 115. is it possible ?

  • @NagarajCruze

    @NagarajCruze

    10 ай бұрын

    Yes. Either manually do or set the browser version as your desired version and selenium manager will take care rest.

  • @user-pq2wk2tx5j
    @user-pq2wk2tx5j10 ай бұрын

    @Naveen I did as u said in the video... Its working fine but the browser gets opened thrice... Pls help me out

  • @naveenautomationlabs

    @naveenautomationlabs

    10 ай бұрын

    show me code here.

  • @rv1805
    @rv180510 ай бұрын

    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

    10 ай бұрын

    Yes it will use the normal regular chrome browser

  • @rv1805

    @rv1805

    10 ай бұрын

    @@naveenautomationlabs thank you so I confirm here chrome for testing browser is not mandatory

  • @chintuchin5824
    @chintuchin58248 ай бұрын

    How to do in vba macro as I am having chrome version 117 and getting error " run time error 33" ?

  • @samirabaza

    @samirabaza

    5 ай бұрын

    same case here , let me know if you find a solution

  • @sachinnaik4508
    @sachinnaik45089 ай бұрын

    This same code is not working on MAC with 4.11.0....

  • @namdeojagtap5521
    @namdeojagtap55219 ай бұрын

    Sir please show syntax for C# also

  • @user-ws3qv8wm8q
    @user-ws3qv8wm8q9 ай бұрын

    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 ?

  • @parshiphani1283
    @parshiphani12839 ай бұрын

    this is my chrome version 116.0.5845.97 can anyone help me to find webdrivers for this version

  • @harshadapatil2877
    @harshadapatil28779 ай бұрын

    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

    9 ай бұрын

    Upgrade it to 4.11.0

  • @quintonrichards4805
    @quintonrichards48057 ай бұрын

    Can you show how to set this up with Python please?

  • @surwase1
    @surwase110 ай бұрын

    @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

    10 ай бұрын

    working for me with ThreadLocal.

  • @surwase1

    @surwase1

    10 ай бұрын

    @@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)

  • @sairajkale1405
    @sairajkale14056 ай бұрын

    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.

  • @balajiramamurthy9417
    @balajiramamurthy941710 ай бұрын

    I was able to get CFT working on mac-arm-64, M1 MBP. @Naveen

  • @naveenautomationlabs

    @naveenautomationlabs

    10 ай бұрын

    cool

  • @Vaurg

    @Vaurg

    10 ай бұрын

    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

    10 ай бұрын

    Make sure you are passing chrome options object reference to chrome driver object.

  • @Vaurg

    @Vaurg

    10 ай бұрын

    @@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
    @revathikamaraj66509 ай бұрын

    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-xm7hu10 ай бұрын

    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?

Келесі