Python - Selenium - Dockerized Grid

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

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

  • @seatownrocks
    @seatownrocks 4 года назад

    Yes, thank you for the clear and concise explanation.

  •  4 года назад

    It's really cool how simplified the installation goes with that docker compose template. What I'm not understanding yet is how to also run the python script on a container as well.

  • @ShyamKumar-hy7vo
    @ShyamKumar-hy7vo 4 года назад

    Good crisp and to the point, thank you.

  • @eddyc1905
    @eddyc1905 3 года назад

    Very good content. I'm currently trying to establish a selenium grid using docker and jenkins while also making the test suite run parallel 😭

  • @dragon3602010
    @dragon3602010 4 года назад +2

    Hey, thank you very much fot this tuto.
    Can you do please one on how to debug on this type of architecture.
    I mean can we live debug on the browser thru docker

    • @r3ap3rpy
      @r3ap3rpy  4 года назад +1

      Live debug ia not possible becausr the drivers are running in headless mode, this means there is no UI available.

    • @dragon3602010
      @dragon3602010 4 года назад +1

      @@r3ap3rpy ok thanks so if we put it in normal mode , are we be able see the browser ?

    • @r3ap3rpy
      @r3ap3rpy  4 года назад +1

      I dont thin that you can start it that way.

    • @dragon3602010
      @dragon3602010 4 года назад +1

      @@r3ap3rpy ah oki because I tought I saw someone making a vnc connexion to see the browser

    • @almanbetsherov4182
      @almanbetsherov4182 4 года назад +1

      @@dragon3602010 I believe it is possible with using the virtual display

  • @patrykjakubiak4154
    @patrykjakubiak4154 3 года назад

    What if i want to have another container with my python script?

    • @r3ap3rpy
      @r3ap3rpy  3 года назад

      Same as the container before

    • @patrykjakubiak4154
      @patrykjakubiak4154 3 года назад

      @@r3ap3rpy I don't know why but I am getting an error "Failed to establish a new connection [Errno 111] when I try to run my script from docker container. When I run my script form my local machine it works perfectly fine

    • @patrykjakubiak4154
      @patrykjakubiak4154 3 года назад

      Ok, I've figured it out. If your python script is in docker container u have to change 'localhost' to name of your selenium hub service. Example:
      "selenium-hub:4444/wd/hub"