Run Selenium on an Already Opened Browser | How to use test cases on an already opened browser | SN

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • This conecpt in selenium is one of my favourite and it is very helpful when it comes to testing big projects. Deep dive in this video and master these skills to enhance your testing in real time projects.
    Subscribe to the channel for more updates.
    #Selenium #seleniumforbeginners #seleniumautomation #seleniumtesting #seleniumwebdriver #seleniumfromscratch

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

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

    Can you please do the same on edge?

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

    how to download the file to a specific directory instead of the default folder ? i am not able to change the download folder when using selenium on an Already Opened Browser pls help

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

      pls help out using python preferably

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

      You can move the downloaded files to a specific folder and then use them in the project. Also, you can use a maven project, where you can dependencies in the pom.xml file, It is easier to download the dependencies.

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

    And what are the pros for this way? I didn't get it, sorry

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

      It is a concept in Selenium. It's your choice where you want to implement it.

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

      I mean as far as I remember you said that it can save a lot of time. So I cannot see how it can save time

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

      @@IlyaArlenka When used as a unit test for some purpose, it can save time. If you only need to test a portion of the application in a real-time project, you can do so. This feature can be used in any situation where it is beneficial.

  • @Chamara.i
    @Chamara.i Год назад

    I got following error once run the test. org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: cannot connect to chrome at localhost:1010
    Anyoption to fix this. I have use setBinary() method as well. but still cannot fix it