How To Resolve SessionNotCreatedException In Selenium WebDriver

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • Today in this video, I will show you to how to fix SessionNotCreatedException In Selenium.
    Common issues are
    1- this version of chromedriver only supports
    2- Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
    3- Could not start a new session: Response code 500
    WebDriverManager In Selenium
    • WebDriverManager Class...
    How to learn Java
    • List Of Java Topics or...
    How to learn Selenium
    • How To Learn Selenium ...
    All Playlist
    / mukeshotwani
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automatio...

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

  • @RX-Ani
    @RX-Ani 3 ปีที่แล้ว +1

    Thanks Mukesh.. I was once asked by an interviewer about sessionNotCreatedException...

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

    Thanku My browsers were compatible but still was getting this issue now used WebDriverMAnager it was a life safer thankyo

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

    Nice explanation . Thanks Mukesh 👍

  • @snehaparekh8502
    @snehaparekh8502 3 ปีที่แล้ว

    Thanks for detailed information Mukesh 👍

  • @sravaniambati8509
    @sravaniambati8509 11 หลายเดือนก่อน +1

    It really helped thank you dependency declaration in pom

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

      I am glad it helped.

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

    Thankyou so much u solved my problem

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

    Thank you very much!! HELPFUL!!

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

    Nice Mukesh...

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

    Thanks for detailed information.. Sir.

    • @Mukeshotwani
      @Mukeshotwani  3 ปีที่แล้ว

      Welcome Sridevi, Thanks for watching.

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

    Excellent video !

  • @shivamkadu5010
    @shivamkadu5010 3 ปีที่แล้ว

    Plz make video on automate positive and negative test cases from user story as a Automation Tester in a company 🙏🙏

  • @maheshz2742
    @maheshz2742 3 ปีที่แล้ว

    Thanks for making video in detail please make 4-5 videos per week now days you are very less active in TH-cam channel

  • @shivaniajbale2777
    @shivaniajbale2777 11 หลายเดือนก่อน +1

    Hello sir, I tried it with first method, it was working. But when I tried with webdrivermanager still I am getting the sessionnotcreated exception.

    • @Mukeshotwani
      @Mukeshotwani  10 หลายเดือนก่อน

      Is this fixed now?

  • @Vishalfootball
    @Vishalfootball 3 ปีที่แล้ว

    hi sir
    do u have videos of Espresso Testing
    or r u aware of any such tutorial videos,
    thanks in advance

  • @RX-Ani
    @RX-Ani 3 ปีที่แล้ว

    If a project has more than 1 application, then do we need to create separate projects for each application or integrate all the applications in one Project(framework)? All testcases in one project?
    Can we have different framework for different applications?
    Please suggest/Make a video.
    Please make a video on Automation coding standards

  • @salehashamim7803
    @salehashamim7803 3 ปีที่แล้ว

    Hi Mukesh,
    I am having doubt but not on this topic.
    How to trim double quotes string that should print on excel in java.
    Not looking for console output.
    Example
    String s="aacfvbbgvv" ;
    s = s. replaceAll("[^a-zA-Z0-9]", "") ;
    System. Out. Println(s) ;
    This is coming on console. Let me know to print in excel from properties file

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

    What is the ideal RAM, Processor required for execution of Selenium scripts. I face issues which are not reproduce able.

    • @Mukeshotwani
      @Mukeshotwani  3 ปีที่แล้ว

      Hi Sandeep, min ram 4GB recommended 8GB and rest is not that imp.

  • @ovichowdhury2398
    @ovichowdhury2398 3 ปีที่แล้ว

    Mukesh..... do u have ETL Developer(SSIS,SSRS,SSAS) video....?

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

    Thanks alot sir 😊

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

      Most welcome Rahul Bhai

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

    I am getting session not created tab crashed after doing all things

  • @ajaydhurvanshi
    @ajaydhurvanshi 3 ปีที่แล้ว

    Can we automation web application on mobile Firefox browser using appium ?
    If yes then how?
    Please help me with this question

  • @jeyasankara4781
    @jeyasankara4781 7 หลายเดือนก่อน

    Hi Mukesh,
    I am facing session not created exception on Jenkins which is running based on Ubuntu server. Even I have set the path kindly give the solution

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

    I tried all above solutions. But nothing worked for me.
    My Chrome Browser version is 102, so I used Chrome Driver version 102 and selenium version 4.2.2

    • @Mukeshotwani
      @Mukeshotwani  2 ปีที่แล้ว

      Please share exception and logs to mukeshotwani@learn-automation.com

  • @namratarevankar2574
    @namratarevankar2574 3 ปีที่แล้ว

    Hi Mukesh,
    org.openqa.selenium.JavascriptException: javascript error: style is not defined
    how to fix this error in selenium webdriver

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

    Thanku so much

  • @mahendrabhupati1870
    @mahendrabhupati1870 3 ปีที่แล้ว

    {INFO: Detected dialect: W3C } in console after that statement my execution freezes. I mean no output no error logs no matter how long I wait. I'm not understanding where it went wrong.

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

    Thanks

  • @supriyassampath1419
    @supriyassampath1419 2 ปีที่แล้ว

    I am getting could not start a new session,
    Possible causes invalid addre of remote server or browser start up failure... From Jenkins... From local scripts are running fine.. when I am connecting to sauce lab through Jenkins.. it's executing one test case after that all tests are failing with the above reason
    Though locally all running good.. I have used driver.quit in after method.. can someone help in this..

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

      Hi Supriya , I’m getting this issue now. Any idea how did you resolve this

  • @DhruvPatel-th3zx
    @DhruvPatel-th3zx 10 หลายเดือนก่อน +1

    What about Maven repository user??

    • @Mukeshotwani
      @Mukeshotwani  10 หลายเดือนก่อน

      Hi Dhruv, with latest version of Selenium 4.14.0 this will take care of everything.

    • @sonamSharma15
      @sonamSharma15 25 วันที่ผ่านมา

      I am using maven and getting the same error.while running selenium grid with remote option .please help

  • @trishulsingh9845
    @trishulsingh9845 2 ปีที่แล้ว

    Hey buddy , i am using latest version of chrome driver and browser but still i am facing the error like --org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Failed to create Chrome process. my Chrome Browser version = 102.0.5005.63
    My Chrome Webdriver version = 102.0.5005.61
    Selenium version = 4.2.1
    What is the problem could you help me ?

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

      Try with WebDriver Manager solution it will work

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

    There is a confusion. I am able to run my Scenarios in my local machine but when running on a remote machine, getting SessionNotCreatedException. How this can be fixed

    • @mdchowdhury2604
      @mdchowdhury2604 2 ปีที่แล้ว

      I got same issue. Problem was in remote pc, the drivers were old. When I put new drivers, then problem was solved. Thanks to Mr. Mukesh.

    • @sonamSharma15
      @sonamSharma15 25 วันที่ผ่านมา +1

      Is it solved?i am getting this error while using maven

    • @Mukeshotwani
      @Mukeshotwani  24 วันที่ผ่านมา

      @sonamSharma15 Hi Sonam please use latest version of Selenium to fix this.

    • @sonamsharma-t5p
      @sonamsharma-t5p 24 วันที่ผ่านมา +1

      I am using latest version only..4.23.1

    • @Mukeshotwani
      @Mukeshotwani  24 วันที่ผ่านมา

      @@sonamsharma-t5p then share the complete exception trace

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

    First like