Run selenium4 tests in Docker containers using Hub & Node | docker compose yml file

Поделиться
HTML-код
  • Опубликовано: 20 сен 2024
  • This video will explain
    How to run selenium UI tests into docker containers using docker-compose yml file.
    this uses the selenium's latest HUB and NODE grid.
    Node Containers can be chrome, firefox or edge browser.
    You will learn how to use selenium's own docker containers called as hub node where all the nodes will be registered to hub.
    To run this yml file, navigate to project directory in terminal or command prompt and enter below line -
    docker-compose f docker-compose hubnode.yml up
    Selenium java complete series -
    bit.ly/qavbox-...
    Subscribe to this channel -
    bit.ly/youtube...
    Blog posts -
    qavalidation.com
    Make me awake & feel fresh always, so I can bring lot's of interesting topics for you all, Buy me a coffee?
    buymeacoffee.co...
    Thank you for watching!

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

  • @anmolmishra7709
    @anmolmishra7709 12 дней назад

    can we change password ?

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

    Hey, how could you see video during testing in selenium grid ? I've tried but dont see any camera icon like 13:29.
    Is there any config in selenium grid ? . Let me know any video that you made for that.

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

    Hi Just a small question, Can I create two chrome images in the same hub?

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

    If we use In cap.setPlatform(platform.WIN10) then the browser in grid doesn't start

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

      This is because the docker containers from docker selenium project are Linux containers, and the capabilities in code should match the docker container platform

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

      @@qavbox how can we change the docker container selenium browser as chrome from Linux ,,,, because in my project as I set the capabilities as win10 ,,,so I want to use the window 10 not the Linux

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

      @@qavbox in selenium grid normally not the docker one,, we have chrome as win 10 ,,so I run the project easily but while using the docker selenium grid ,, i saw the browser has LINUX ,, so I reached all the articles how to change it to win 10 but not find any solution

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

      @@qavbox by the way thanks for replying 👍

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

      @@gazi3041
      You have to put if else condition to set the cap to Win10 when you run in grid, and set cap to linux when you run in docker container.
      Like i set platform to local or remote in my framework app.java

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

    hi thanks for your presentation.Please,Could you share your githup account? is there any configuration on your github acconut ,ı wonder..Thanks again

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

      github.com/sunilpatro1985/SeleniumJavaFramework
      We need not to do any specific changes to github repo.

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

      @@qavbox ok thanks for your interesting