Part-5 |SDET Essentials | Docker with Chrome & Firefox Images for Selenium Tests

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 58

  • @mariohohn615
    @mariohohn615 2 роки тому +2

    Everytime I find a video about executing selenium tests in a docker
    container, it's just showing the getTitle method. That works fine for me
    too, but when I try to locate another element, I always get an
    NoSuchElementException. But locally all my tests are running. Just in
    the docker container no elements can be found. What could be the problem
    here?

  • @mohamediqbala5013
    @mohamediqbala5013 4 роки тому +1

    Thank you very much Pavan sir. Could you please create one video Resilience Testing for micro services. TIA.

  • @ankit6613
    @ankit6613 4 роки тому +2

    Great piece of information, Thanks for all the Docker Videos !!! Easy to understand and implement.

  • @Maneesh-wr9wx
    @Maneesh-wr9wx 7 місяців тому

    Awsome Explanation!sir. standalone of both chrome and firefox are headless or with head browser?Please can you suggest How to run cucumbetrBDD framework using docker as headless?sir

  • @PRAMOD337
    @PRAMOD337 3 роки тому +1

    thank you so much for the clear explanation

  • @viswaviswa8616
    @viswaviswa8616 Рік тому

    Thanks for the your effort.
    I have one doubt i have created java application docker image and it's pushed into my registery. But now the question how i need add this selenium chrome drive in my existing image which contains application changes?

  • @manishkannamoney7455
    @manishkannamoney7455 7 місяців тому

    Great!explanation sir
    Can you suggest How to runcucumberBDD framework with Docker as headless browser?

  • @govindasharma8619
    @govindasharma8619 4 місяці тому

    Is the image preconfigured to run headless?

  • @jananidinesh2107
    @jananidinesh2107 Рік тому +1

    well explained !!

  • @sowjanyasirugudi4052
    @sowjanyasirugudi4052 4 роки тому +1

    Hi, can you execute script in a distributed environment? Like, runing a script in a docker container installed in a remote machine?

  • @dhanapalayyanar1394
    @dhanapalayyanar1394 4 роки тому +1

    Hi sir,
    It will work same for test ng ?

  • @ejazmobashir6894
    @ejazmobashir6894 Рік тому

    How to do the above steps if using Pycharm and python for selenium test, is there any tutorial of yours

  • @Sanatani-Warrior-6847
    @Sanatani-Warrior-6847 2 роки тому

    Sir Desired Capabilities is no deprecated , So what to do now , Could not find solution. Waiting for help.

  • @travelwithme3031
    @travelwithme3031 2 роки тому +1

    Thank u so much, this s exactly what I m looking for 🙏🙏

  • @SourajitDrums
    @SourajitDrums 3 роки тому

    Awesome very easy to understand! Will definitely try to implement

  • @poojanavdeti1031
    @poojanavdeti1031 4 роки тому +1

    Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

  • @ganeshs6957
    @ganeshs6957 3 роки тому

    hi sir......can you please share the software which is you are using to write a maven project in this video.

  • @shanky046
    @shanky046 Рік тому

    Docker is installed on the local machine, image and container are created on local machine using the installed docker command then why are we using RemoteWebDriver?

  • @smita747
    @smita747 5 років тому +1

    When the next video will come sir

  • @manu5424
    @manu5424 5 років тому

    While the tests are executed on containers, we cannot see the execution like the opening of browser and navigation?

    • @ragav962
      @ragav962 4 роки тому

      Use VNC viewer

  • @gauri992
    @gauri992 3 роки тому +1

    Thanks a lot Sir......

  • @SugengWahyudi
    @SugengWahyudi 2 роки тому

    how to change geolocation when using remote chrome webdriver?

  • @gayatri707
    @gayatri707 10 місяців тому +2

    Than you so much

  • @sanjeetasaha4840
    @sanjeetasaha4840 2 роки тому

    Hello sir, I am getting error that chrome() is undefined for the type DesiredCapabilities. Please help me out.

    • @sudhindradeshpande4167
      @sudhindradeshpande4167 2 роки тому

      if you are using selenium erbdriver version 3.8+ then you will get an error. use .3.141.59

    • @Aabhishek29
      @Aabhishek29 Рік тому

      @@sudhindradeshpande4167 , its working , thank you sir

    • @elmariscal5394
      @elmariscal5394 Рік тому

      I am using version 4.11 and this works as well :
      ChromeOptions browserOptions = new ChromeOptions();
      URL url = new URL("localhost:4444/wd/hub");
      RemoteWebDriver driver = new RemoteWebDriver(url,browserOptions);

  • @faisalsakib9586
    @faisalsakib9586 5 років тому +1

    Hello sir, how u get the url of docker remote grid ???

    • @sdetpavan
      @sdetpavan  5 років тому

      URL of Grid Hub is default everywhere. Read this Doc:www.seleniumhq.org/docs/07_selenium_grid.jsp

  • @ramanrayat
    @ramanrayat 5 років тому +1

    What about the screenshot, where and how it will be stored in case of test fail

    • @N63B44TÜ
      @N63B44TÜ 5 років тому +3

      use
      org.testcontainers.containers.BrowserWebDriverContainer
      so you can capture even a video and save it in a file!
      maven:
      org.testcontainers
      selenium
      1.12.1

  • @shikhakesarwani-i7m
    @shikhakesarwani-i7m Рік тому

    Hello Sir.. Can u make a video of Docker with appium from scratch?

  • @attilaturkkan699
    @attilaturkkan699 3 роки тому

    Hi, I have 200 test case. If I want to run 10 paralel what should I do ?

  • @jeevanm3374
    @jeevanm3374 6 місяців тому

    Sir please upload videos on playwright with docker

  • @mumta4u
    @mumta4u 4 роки тому +1

    how can I run this script on python ?

    • @mumta4u
      @mumta4u 4 роки тому

      I mean to say python + selenium + Docker

  • @goldfan5523
    @goldfan5523 4 роки тому +2

    Wow, thank you 👍👍

  • @manishpatidar5379
    @manishpatidar5379 3 роки тому

    After running below command:
    C:\WINDOWS\system32>docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
    i am getting error:
    docker: Error response from daemon: invalid volume specification: '/dev/shm:/dev/shm'.
    See 'docker run --help'. can anyone please help

  • @rahulnagarnagar189
    @rahulnagarnagar189 4 роки тому +1

    Can you please make video of integration of docker with BDD framework

  • @prasadsinghrajput907
    @prasadsinghrajput907 4 роки тому

    While pulling images I am getting Error : image operating system "linux" cannot be used on this platform.
    I am working on Windows containers.
    Please guide.

  • @cibelless510
    @cibelless510 4 роки тому

    I cannot run in Python using pycharm, please in java I cannot use

  • @suhasch12
    @suhasch12 5 років тому

    ******************* Upload some videos on Javascript with Cypres its now booming in market **************************************

    • @sdetpavan
      @sdetpavan  5 років тому +1

      coming soon. Please stay tuned!