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

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 93

  • @sheiksibgathulla1690
    @sheiksibgathulla1690 9 หลายเดือนก่อน

    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

  • @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 TH-cam 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

  • @nyanyalee1
    @nyanyalee1 ปีที่แล้ว +3

    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

  • @richarddartt6210
    @richarddartt6210 ปีที่แล้ว +1

    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.

  • @ashwinigadekar3604
    @ashwinigadekar3604 ปีที่แล้ว +1

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

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

  • @helloramesh6193
    @helloramesh6193 ปีที่แล้ว

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

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

  • @deep80105
    @deep80105 ปีที่แล้ว +1

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

  • @dinhnguyen9056
    @dinhnguyen9056 ปีที่แล้ว

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

  • @balajibhadre6627
    @balajibhadre6627 ปีที่แล้ว +1

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

  • @RR-zb2rg
    @RR-zb2rg ปีที่แล้ว

    how does it works with cicd pipelines?

  • @sreejishnu8226
    @sreejishnu8226 ปีที่แล้ว +1

    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

  • @online_business_pokhara
    @online_business_pokhara ปีที่แล้ว +1

    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.

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

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

  • @GurudattaPraharaj
    @GurudattaPraharaj ปีที่แล้ว

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

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

  • @MdAamir-y1m
    @MdAamir-y1m ปีที่แล้ว

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

  • @SimplicityVlogs
    @SimplicityVlogs ปีที่แล้ว

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

  • @the_nextdoor_couple
    @the_nextdoor_couple 11 หลายเดือนก่อน

    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.

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

  • @alexandrutosa4292
    @alexandrutosa4292 ปีที่แล้ว

    Hi Naveen! Will this work with apple silicone Macs?

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

  • @r.ambikaraja3120
    @r.ambikaraja3120 ปีที่แล้ว

    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

  • @maryjohnm8477
    @maryjohnm8477 ปีที่แล้ว

    Hi Naveen, how can this be implemented using python?

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

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

  • @KarthikJambagi
    @KarthikJambagi ปีที่แล้ว +1

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

  • @sudhakarrajunibhanupudi5331
    @sudhakarrajunibhanupudi5331 ปีที่แล้ว

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

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

  • @mohatShil
    @mohatShil ปีที่แล้ว +1

    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

  • @chintuchin5824
    @chintuchin5824 ปีที่แล้ว

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

    • @samirabaza
      @samirabaza 11 หลายเดือนก่อน

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

  • @pspiro
    @pspiro ปีที่แล้ว +1

    Thank you for saving me tons of time

  • @swarytamberker
    @swarytamberker ปีที่แล้ว +1

    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

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

  • @SmarakRanjanRout
    @SmarakRanjanRout ปีที่แล้ว +1

    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

  • @RajibLama
    @RajibLama ปีที่แล้ว

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

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

  • @sachinnaik4508
    @sachinnaik4508 ปีที่แล้ว

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

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

  • @vaishnavikulkarni5117
    @vaishnavikulkarni5117 ปีที่แล้ว

    Thank you so much naveen sir👍

  • @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  ปีที่แล้ว +1

      Yes it will use the normal regular chrome browser

    • @rv1805
      @rv1805 ปีที่แล้ว +1

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

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

  • @BugHunterMdSam
    @BugHunterMdSam ปีที่แล้ว

    Thanks for the clear demonstration.

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

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

  • @sujeetkumar-dt7xk
    @sujeetkumar-dt7xk ปีที่แล้ว

    Excellent explanation 😊

  • @namdeojagtap5521
    @namdeojagtap5521 ปีที่แล้ว

    Sir please show syntax for C# also

  • @AmitPawar-q7v
    @AmitPawar-q7v ปีที่แล้ว +1

    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 ?

  • @quintonrichards4805
    @quintonrichards4805 ปีที่แล้ว

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

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

  • @abhilashsingh6334
    @abhilashsingh6334 ปีที่แล้ว +1

    Thankyou for the video

  • @YougotFire
    @YougotFire ปีที่แล้ว +1

    Thank you very much sir

  • @parshiphani1283
    @parshiphani1283 ปีที่แล้ว

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

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

  • @sairajkale1405
    @sairajkale1405 ปีที่แล้ว

    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
    @balajiramamurthy9417 ปีที่แล้ว +1

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

    • @naveenautomationlabs
      @naveenautomationlabs  ปีที่แล้ว +1

      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  ปีที่แล้ว +1

      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?