Selenium Manager 4.6.0 - No Need To Setup Any .exe File || No System Property || No WebDriverManager

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 82

  • @ABAutomationHub
    @ABAutomationHub 2 года назад +7

    Thanks for creating video and explaining in detail.. Very well explained.. Thanks for keeping us updated with the latest trends and techniques.

  • @kotreshgt9391
    @kotreshgt9391 2 года назад +4

    It is a pleasure to hear you explain things so clearly, Naveen.

  • @jigarsodha7494
    @jigarsodha7494 2 года назад +3

    As always incredible and super explanation by you. The way you explained there is no 2nd way to read. Crisp and clear. Coz of you and your teaching style techniques, I became a full time Automation Tester in BIG MNC and also got switched the companies with the help of your videos.
    Thank you again and keep posting the same! :)

  • @ankeshkumar9120
    @ankeshkumar9120 2 года назад +5

    I just tried the same in Selenium with python. It works amazing. Thanks Naveen 🙏

  • @Udzial
    @Udzial 2 года назад +2

    Thanks for reading through all the new documentation and explaining all in detail, even going to their code and talking about singleton pattern and making it easier for the community

  • @glennadotey79
    @glennadotey79 2 года назад +4

    Wow Naveen you never fail to impress me. your explanation and of various topics are spot on. Great!! Job

  • @HowTo-lc2rp
    @HowTo-lc2rp Год назад +1

    Hey Naveen, if you were not there with such amazing tutorials then i would have quit from automation testing profile

  • @mjjr2426
    @mjjr2426 2 месяца назад

    Well explained with all the details. One more proof to follow you to catch up the innovation in qa field. Please keep up the good work & thank you Naveen.

  • @SanjeevSingh-nf7vz
    @SanjeevSingh-nf7vz 2 года назад +4

    Cool feature...took care of setup DARD 😀😀
    Thanks Naveen sir for the latest updates...it is you who makes our interview easy.

  • @ratnam143able
    @ratnam143able 2 года назад +3

    Excellent Update...!!! No more system property or WebDriverManager..!!

  • @reikoxan
    @reikoxan 2 года назад +1

    Superb Naveen. Ill will wait for a stable release to start implementing into my framework.

  • @rupalinavghane2361
    @rupalinavghane2361 2 года назад +1

    Just tried with Selenium Java. Working fine. Thanks for sharing and explaining such a nice features from selenium.

  • @sakshiaggarwal6199
    @sakshiaggarwal6199 2 года назад +1

    Thank you so much Naveen. I was really struggling with this browser compatibility issue when I switch from Eclipse to Aqua editor.
    God bless Everyone😇

  • @amarendrapani6146
    @amarendrapani6146 2 года назад +1

    Thanks Naveen .......
    For quick information.

  • @maruf1287
    @maruf1287 2 года назад +1

    This is a great feature, and thank you so much for explaining in a easy way!

  • @SunilGhatul
    @SunilGhatul 2 года назад +1

    thank you so much for clarification and so clear differentiated comparison between 4.5.0 and 4.6.0. Thanks

  • @lekhuyadav2028
    @lekhuyadav2028 2 года назад +1

    Awesome feature. Thanks Naveen👃

  • @pankajshinde8705
    @pankajshinde8705 2 года назад +1

    Great Work Naveen.

  • @anjankumar4012
    @anjankumar4012 2 года назад +1

    A big thank you, for keeping us updated with the current world, with your simple explanation.
    Keep posting, Thank you again 😊
    One humble request, can you please make a video on how to store screenshot s in word file for selenium 🙏. I am searching it for a long time

  • @vishnuverma6587
    @vishnuverma6587 2 года назад +3

    Great work ✌️👍. Naveen sir could you please create a video on how can we record selenium test cases in headless mode ? It would be a big help. You are our solution master ✌️.

  • @softwaretestinglearninghub
    @softwaretestinglearninghub 2 года назад +1

    great video! thank you, Naveen!

  • @vishalavishala1883
    @vishalavishala1883 2 года назад +2

    Selenium c#, all scripts working fine on local. But on Azure cloud few buttons are not displaying...tried checking screenshot n pagesource. Also used dynamic wait with Relative locator. No luck.
    Any other option i need to try

  • @sz3uz
    @sz3uz 2 года назад +1

    Hi Naveen,
    As soon as 4.6.0 dependencies are added in pom.xml file Maven dependencies was getting disappeared under project. I tried to update project, Relaunch Eclipse no help.. Please suggest
    Now, when i try changing to 4.3.0, Maven dependencies are visible under project . How to resolve this issue

  • @priyankpathak1246
    @priyankpathak1246 2 года назад +1

    Thanks Naveen, nice explanation 👍👍👍👍🙏

  • @soumyajitnath1348
    @soumyajitnath1348 2 года назад +1

    Wowwww amazing thanks for sharing Sir

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

    I am using Selenium "4.6.0" dependency still getting java.lang.IllegalStateException. What needs to be done here

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

    These New update changes whole scripting..now i cant even execute chrom it closes at once or get stuck with Data on tab....spent whole days finding fix but still same issue and no help.

  • @Laxman_p11
    @Laxman_p11 2 года назад +3

    Thank you Naveen .. I tried, it is working fine for selenium with Java.. will it also work with Python..?

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

    Great work ✌👍Naveen.
    Just one question, when I try to get the driver pathe using " String chromePath= SeleniumManager.getInstance().getDriverPath("chromedriver"); " , it ask me to pass Capability instead of String parameter. Can you please tell me why?
    Note:- I am using 4.9 version now, when I use 4.6 it works fine!

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

    Hi thanks for sharing this video, one question, will this work in an “on premise” environment shielded from the outside world with no possible way to download files freely? I.e , I’m working in an organization that manages the edge browser on all computers in a internal system because of security concerns. Will this fact dictate that I must download manually the files ever time or does this feature have capabilities to address these kind of issues?

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

    @Naveen i am trying to implement this on my mac machine but it is giving me sessionNotcreated error everytime. Could you please help me out with that ?

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

    Hi Naveen , when I update the selenium version to 4.6.0 all my jars are disappeared and also not downloading updated wars

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

    thanks for updating .However, need to ask , what about Firefox and Microsoft Edge? Do we need to still download exe for these two?

  • @jannatulnayeem6858
    @jannatulnayeem6858 2 года назад +1

    Thanks for uploading a amazing update

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

    My system is 64 bit but its internally downloading 32 bit chromedriver due to which i am getting WebDriverException
    or am i missing something ?
    can you please help

  • @ClassicRebornRider
    @ClassicRebornRider 2 года назад

    I have selenium 4.7.2, I tried doing this but getting this error message - "selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH."
    Kindly help Please.

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

    Amazing feature bro

  • @Sowmyanagalla
    @Sowmyanagalla 2 года назад +1

    Can you please explain this for Python selenium too (On Pycharm)

  • @soumyajitnath1348
    @soumyajitnath1348 2 года назад +1

    Please make a tutorial on integration of JIRA in Playwright framework

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

    How we can handle capabilities in Selenium 4.6 and above?

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

    hello sir I am new in selenium automation please guide me.
    is this video is enough to start automation ???
    mean, i need to start automation in Java. for complete setup which thing i install at my laptop?? please reply me I
    am waiting for you help

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

    sir i am just waiting for your help to start automation in selenium using java. please, anyone help me for complete the setup

  • @harshwardhanpatil7535
    @harshwardhanpatil7535 2 года назад

    Thank you for informing. But i need help in hiding edge side bar new update in edge using chrome options and desired capabilities can you help??

  • @alexrosario4633
    @alexrosario4633 2 года назад +1

    How about the derived capabilities or headless browser initializing

  • @udaypandey5659
    @udaypandey5659 2 года назад +5

    So now no more webdriver manager.... So sad for bonigracia !

    • @alexkuzmichev9051
      @alexkuzmichev9051 2 года назад +5

      he may be proud though. his work has influenced Selenium directly and made Selenium a better tool

    • @udaypandey5659
      @udaypandey5659 2 года назад

      @@alexkuzmichev9051 agree 💯

    • @chaitanyashastry1111
      @chaitanyashastry1111 2 года назад +1

      This is also by bonigarcia which is contributing in it

    • @naveenautomationlabs
      @naveenautomationlabs  2 года назад +14

      bonigracia is one of the contributors to this feature in 4.6.0.

  • @AnkitGumber-k7m
    @AnkitGumber-k7m Год назад

    Hi Naveen,
    I have upgraded the selenium version to 4.6.0 and started using selenium manager. This works fine when I execute tests from my local machine. However, when I run the tests trough Jenkins on remote linux machine then I get the following error.
    WARNING: Unable to obtain driver using Selenium Manager: Error running command: [/tmp/selenium-manager12628507843922721157034350472031708/selenium-manager, --driver, geckodriver]
    Any idea how to resolve this issue ?

  • @gautammanda086
    @gautammanda086 2 года назад +1

    Hi @naveen are there any tutorials on accelQ , since it's codeless automation , i am not really sure why there is no boom in market for the same. Can you please explain the same

    • @naveenautomationlabs
      @naveenautomationlabs  2 года назад

      I dont have anything on accelQ as of now.

    • @gautammanda086
      @gautammanda086 2 года назад

      @@naveenautomationlabs but if we go ahead with it considering current trends is it feasible or scalable enough

  • @soumyajit443
    @soumyajit443 2 года назад

    I have not yet created a maven project on my old laptop and have not used selenium 4.6 yet. I was using WebdriverManager till today. But I still see that the respective browser drivers are downloaded to the path.
    For example - C:\Users
    ath_s\.cache\selenium\chromedriver\win32
    It has folders such as '101.0.4951.41' and chromedriver.exe in each. So what does selenium manager.exe does exactly.

    • @naveenautomationlabs
      @naveenautomationlabs  2 года назад

      C:\Users
      ath_s\.cache\selenium\chromedriver\win32 --- this is the cache folder maintained by webdrivermanager not by selenium-manager.

  • @chamumajety7431
    @chamumajety7431 2 года назад

    Will this works when we want to execute scripts in grid?

  • @VenkateshVSVS
    @VenkateshVSVS 2 года назад

    Hi Naveen I am following your channel I need your help for installation of eclipse and java and add jars.

  • @Rohan269503
    @Rohan269503 2 года назад

    thanks for updating us time to time 🙂

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

    Illegal state exception error facing so how to solve this error

  • @soumyajit443
    @soumyajit443 2 года назад

    Naveen
    but why should be upgrade to selenium version 4.6 if my project use version 4.1.3
    Is it just that I have remove the lines of code in driverfactory class having WebDriverManager.chromedriver.setup()
    Can you please explain the advantages of upgrading apart from one adv that it will auto download the compatible browser driver in cache folder.

    • @naveenautomationlabs
      @naveenautomationlabs  2 года назад

      If you want to get rid of WDM and browser drivers you need to use 4.6.0 version. You wont get this feature in 4.1.3.

    • @soumyajit443
      @soumyajit443 2 года назад

      @@naveenautomationlabs I am getting the below when I try to run my test on FireFox browser.
      Nov 17, 2022 5:28:15 PM org.openqa.selenium.remote.service.DriverService findExecutable
      WARNING: Unable to obtain driver using Selenium Manager: Error running command: [C:\Users\DELL\AppData\Local\Temp\selenium-manager2123979721843002427500424629988647\selenium-manager.exe, --driver, geckodriver]
      Build info: version: '4.6.0', revision: '79f1c02ae20'
      System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.1'
      Driver info: driver.version: FirefoxDriver
      Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see github.com/mozilla/geckodriver. The latest version can be downloaded from github.com/mozilla/geckodriver/releases
      at org.openqa.selenium.internal.Require$StateChecker.nonNull(Require.java:314)
      at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:148)
      at org.openqa.selenium.firefox.GeckoDriverService.access$100(GeckoDriverService.java:45)
      at org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:181)
      at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:450)
      at org.openqa.selenium.firefox.GeckoDriverService.createDefaultService(GeckoDriverService.java:94)
      at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:99)
      at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)

  • @garimakhare-w6d
    @garimakhare-w6d 3 месяца назад

    From where does it downloads the exe?

  • @chamumajety7431
    @chamumajety7431 2 года назад

    Thanks for sharing. Will this works when we want to execute scripts in grid?

    • @naveenautomationlabs
      @naveenautomationlabs  2 года назад

      On grid, it's not needed. Selenium server and node or dockerized image of the browser will take care of it.

  • @bdjyoti
    @bdjyoti 2 года назад

    Can we automate api with selenium?

  • @04IT934
    @04IT934 2 года назад

    Webdriver manager had a limiation that if you were behind a vpn it wouldn't work, seems like this suffers with the same limitation

  • @RetroRampageArcade
    @RetroRampageArcade 2 года назад +1

    Thank you Naveen

  • @subhransupanda7052
    @subhransupanda7052 2 года назад +1

    Thanks Naveen ..it's working fine for selenium Java ..Anyone tried this selenium with C# language binding ..Could anyone help me to achive this using selenium with C# for edge browser..

  • @jay-ar6593
    @jay-ar6593 2 года назад

    @Naveen AutomationLabs Did you delete my message? I tried to reply to my own message but it was deleted.

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

    Thank you so much

  • @venkatesenkizhapandal2243
    @venkatesenkizhapandal2243 2 года назад +1

    Good news at last

  • @KARTHIKPANCH97
    @KARTHIKPANCH97 2 года назад +1

    Wow

  • @vanitanetajidesai2438
    @vanitanetajidesai2438 2 года назад +1

    Nots

  • @satyadash2156
    @satyadash2156 2 года назад

    Sir how about Linux Machin ? I tried the wardrive manager there but it was not working there. Will this work in Linux system!
    *i had added the web driver manager code here but I tried to remove the System.setProperty the Jenkins job was failing there. Do let me know if i am making any mistake here.
    /* This is for Jenkins execution - Linux Machine */

    else if(System.getProperty("os.name").contains("Linux")){
    try {
    if (browser.equalsIgnoreCase("chrome")) {
    System.setProperty("webdriver.chrome.driver", driverPath+File.separator+"Drivers"+File.separator+"chromedriver");
    ChromeOptions options = new ChromeOptions();
    options.setBinary("/usr/bin/google-chrome");
    options.addArguments("headless");
    options.addArguments("disable-gpu");
    options.addArguments("no-sandbox");
    options.setExperimentalOption("excludeSwitches", Collections.singletonList("enable-automation"));
    options.addArguments("disable-infobars");
    options.addArguments("--disable-dev-shm-usage");
    options.addArguments("--disable-browser-side-navigation");
    options.setPageLoadStrategy(PageLoadStrategy.EAGER);
    WebDriverManager.chromedriver().setup();
    driver = new ChromeDriver(options);
    driver.manage().window().setSize(new Dimension(1366,768));
    }
    else if (browser.equalsIgnoreCase("firefox")) {
    FirefoxOptions options = new FirefoxOptions();
    options.addArguments("headless");
    options.setCapability("marionette", true);
    WebDriverManager.firefoxdriver().setup();
    driver = new FirefoxDriver(options);
    System.out.println("FireFox Driver initialiezed");
    driver.manage().window().setSize(new Dimension(1366,768));
    }

    else if (browser.equalsIgnoreCase("edge")) {
    EdgeOptions options= new EdgeOptions();
    options.addArguments("headless");
    WebDriverManager.edgedriver().setup();
    driver = new EdgeDriver(options);
    driver.manage().window().setSize(new Dimension(1366,768));
    }

    }catch (Exception e) {
    System.out.println("Exception is from Linux-Jenkins" + e.getMessage());
    }
    }
    /* The Jenkins linux part ends here*/

  • @ShoeibShargo
    @ShoeibShargo 2 года назад +1

    Checkmate cypress.

  • @softwaretestinglearninghub
    @softwaretestinglearninghub 2 года назад

    great video! thank you, Naveen!