Run selenium automation testing in Docker

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

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

  • @testautomation999
    @testautomation999  9 месяцев назад

    As asked how to set up Firefox in Docker, enter commands: docker pull selenium/standalone-firefox; docker pull selenium/node-firefox-debug. And then Docker will give guiding commands to install Firefox.

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

    Thanks for the interesting video. The usage of synchronized block is not clear though, i didn't analyze your code, but synchronized blocks are usually used to prevent concurrent access to the code inside this block, and it seems like even though you run tests in parallel, only one thread at a time is executed, while others are waiting for it to finish

  • @nkpro9377
    @nkpro9377 9 месяцев назад

    Hello, I followed your guidance about the Selenium grid hub and node. I've almost done the example except for the VNC. After running the test, the session is automatically removed from the grid, so I can click on the camera icon. How can I fix it? Please give me the ideal. Thanks

    • @testautomation999
      @testautomation999  9 месяцев назад

      Thank you for watching the video. In my case, the session would be keeping for a while, after a while the session would be disappearing. I clicked on the icon to watch the processes when the test was running.

  • @EmanuelSantana-lq3tw
    @EmanuelSantana-lq3tw 6 месяцев назад

    hey, thanks for the content. How can you proceed to use docker and to get the devtools? I saw you had a video about the devtools but not in docker.
    I did the setup you showed for docker and the one for devtools, but things don't work. Do you know how to proceed with that? Thanks for your videos.

    • @testautomation999
      @testautomation999  6 месяцев назад +1

      Thank you! Sorry to delay replying. You may try to use "ChromeDriver driver = (ChromeDriver) new RemoteWebDriver(new URL(remote_url_chrome), options)" instead of "ChromeDriver driver = new ChromeDriver()"

  • @bananaaaaaa
    @bananaaaaaa 4 месяца назад

    Great video! It would be nice to see the code, if possible, to not have to type everything.

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

    Hello Sir, I'm trying to replicate what you did in this video, but the name of the IDE you used. Could you pls let me know the name?

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

      Thank you for watching the video. You may need IntelliJ Download and install IntelliJ: www.jetbrains.com/idea/download
      and also need Docker.