Session 10 - Setup Docker Selenium Grid | Run Automation on Docker Containers | Selenium on Docker

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

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

  • @thehiddenbalkans
    @thehiddenbalkans 3 месяца назад +1

    can i use them in one container?
    Selenium 4.25.0
    installing Chrome and chrome driver inside the container via Dockerfile
    I want to run three containers with this code going to different links (input param env var)
    `but i am getting
    Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: exited normally.
    (session not created: DevToolsActivePort file doesn't exist)
    (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

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

      This might happen due to incorrect setup in dockerfile.. can you share Dockerfile , also check u have sufficient resources like cpu , RAM memory etc.

  • @priteshkhambekar
    @priteshkhambekar 3 месяца назад

    Hi Sir,
    In my framework I did a setup to execute selenium script into docker containers.
    Here when I run my testng.xml file then all the scripts are executing successfully into docker containers.
    But the problem is when I run same script using maven command I.e mvn clean test then it's throwing an errors.
    Do you know why?
    If possible could you please try to execute script into docker container using maven command and see if it's executing successfully or not?
    Thanks

    • @AJAUTOMATION
      @AJAUTOMATION  3 месяца назад

      yes its working , what's the error you are getting with maven command ?