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

Поделиться
HTML-код
  • Опубликовано: 1 авг 2023
  • 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:
    ruclips.net/user/Naveen%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
    @sheiksibgathulla1690 4 месяца назад

    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 11 месяцев назад

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

  • @balajibhadre6627
    @balajibhadre6627 11 месяцев назад +1

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

  • @deep80105
    @deep80105 Год назад +1

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

  • @ashwinigadekar3604
    @ashwinigadekar3604 11 месяцев назад +1

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

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

  • @mosinkhan410
    @mosinkhan410 11 месяцев назад

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

  • @richarddartt6210
    @richarddartt6210 10 месяцев назад +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.

  • @dinhnguyen9056
    @dinhnguyen9056 11 месяцев назад

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

  • @BugHunterMdSam
    @BugHunterMdSam Год назад

    Thanks for the clear demonstration.

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

  • @vaishnavikulkarni5117
    @vaishnavikulkarni5117 11 месяцев назад

    Thank you so much naveen sir👍

  • @RajibLama
    @RajibLama 11 месяцев назад

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

  • @helloramesh6193
    @helloramesh6193 11 месяцев назад

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

  • @pspiro
    @pspiro 10 месяцев назад +1

    Thank you for saving me tons of time

  • @abhilashsingh6334
    @abhilashsingh6334 Год назад +1

    Thankyou for the video

  • @PRAVEENKUMAR-kc9bl
    @PRAVEENKUMAR-kc9bl Год назад +1

    Thank you very much sir

  • @sujeetkumar-dt7xk
    @sujeetkumar-dt7xk 11 месяцев назад

    Excellent explanation 😊

  • @GurudattaPraharaj
    @GurudattaPraharaj 11 месяцев назад

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

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

  • @khushgoyal3099
    @khushgoyal3099 11 месяцев назад

    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)

  • @yogiscreations
    @yogiscreations 11 месяцев назад

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

  • @kushagranalwaya
    @kushagranalwaya 11 месяцев назад

    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?

  • @shubhamagarwal4278
    @shubhamagarwal4278 11 месяцев назад

    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 ?

  • @the_nextdoor_couple
    @the_nextdoor_couple 6 месяцев назад

    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.

  • @samchannel2125
    @samchannel2125 11 месяцев назад

    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

  • @user-uo8fd7mw9p
    @user-uo8fd7mw9p 8 месяцев назад

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

  • @SimplicityVlogs
    @SimplicityVlogs 11 месяцев назад

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

  • @alexandrutosa4292
    @alexandrutosa4292 Год назад

    Hi Naveen! Will this work with apple silicone Macs?

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

  • @r.ambikaraja3120
    @r.ambikaraja3120 7 месяцев назад

    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

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

  • @sreejishnu8226
    @sreejishnu8226 11 месяцев назад +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 11 месяцев назад

      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

  • @santhoshv561
    @santhoshv561 11 месяцев назад

    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?

  • @jissgeorge6001
    @jissgeorge6001 11 месяцев назад

    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

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

  • @ashishmishra2167
    @ashishmishra2167 11 месяцев назад

    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.

  • @sudhakarrajunibhanupudi5331
    @sudhakarrajunibhanupudi5331 Год назад

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

  • @RR-zb2rg
    @RR-zb2rg 7 месяцев назад

    how does it works with cicd pipelines?

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

  • @mizanur968
    @mizanur968 11 месяцев назад

    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 11 месяцев назад

      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

  • @NooneYT2015
    @NooneYT2015 11 месяцев назад

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

  • @maryjohnm8477
    @maryjohnm8477 8 месяцев назад

    Hi Naveen, how can this be implemented using python?

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

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

  • @user-pq2wk2tx5j
    @user-pq2wk2tx5j Год назад +1

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

  • @sachinnaik4508
    @sachinnaik4508 11 месяцев назад

    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 11 месяцев назад

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

  • @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 11 месяцев назад

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

  • @user-ws3qv8wm8q
    @user-ws3qv8wm8q 11 месяцев назад +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 ?

  • @chintuchin5824
    @chintuchin5824 10 месяцев назад

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

    • @samirabaza
      @samirabaza 7 месяцев назад

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

  • @namdeojagtap5521
    @namdeojagtap5521 11 месяцев назад

    Sir please show syntax for C# also

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

  • @parshiphani1283
    @parshiphani1283 11 месяцев назад

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

  • @harshadapatil2877
    @harshadapatil2877 11 месяцев назад

    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.

  • @quintonrichards4805
    @quintonrichards4805 8 месяцев назад

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

  • @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 7 месяцев назад

    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 10 месяцев назад

    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 11 месяцев назад

    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?