Skip to content

Best way to Run Selenium tests with PHP+Apache? #26005

Answered by asartalo
asartalo asked this question in Actions
Discussion options

You must be logged in to vote

Finally figured it out myself. What was happening was I was using the wrong URL for the selenium hub. I also then ran on to the problem of the selenium service unable to access the php:7.4-apache server (localhost from the selenium server refers to itself, duh). The relevant changes I made were:

The relevant section on the workflow has been changed to this:

  test:
    needs: build
    runs-on: ubuntu-latest
    container: 
      image: php:7.4-apache
      ports: 
        - 80:80
      opti…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant