{"id":16834769,"url":"https://github.com/serbanghita/webdriverio-docker","last_synced_at":"2025-04-11T04:35:31.537Z","repository":{"id":66250055,"uuid":"133855815","full_name":"serbanghita/webdriverio-docker","owner":"serbanghita","description":"Run e2e tests with wdio and selenium-standalone in Docker containers.","archived":false,"fork":false,"pushed_at":"2018-06-07T17:33:35.000Z","size":47,"stargazers_count":7,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T04:35:23.890Z","etag":null,"topics":["docker","e2e-tests","selenium-standalone","webdriverio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serbanghita.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-17T18:54:02.000Z","updated_at":"2023-06-26T07:27:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2570323-e8ad-4b02-891d-fc934c473642","html_url":"https://github.com/serbanghita/webdriverio-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serbanghita%2Fwebdriverio-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serbanghita%2Fwebdriverio-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serbanghita%2Fwebdriverio-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serbanghita%2Fwebdriverio-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serbanghita","download_url":"https://codeload.github.com/serbanghita/webdriverio-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345257,"owners_count":21088231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","e2e-tests","selenium-standalone","webdriverio"],"created_at":"2024-10-13T12:07:49.258Z","updated_at":"2025-04-11T04:35:31.526Z","avatar_url":"https://github.com/serbanghita.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## E2E using [Webdriver.io](https://github.com/webdriverio/webdriverio) and [selenium-standalone](https://github.com/vvo/selenium-standalone) in Docker\n\u003e Sample of project running E2E tests with `wdio` and `selenium-standalone`\neach existing in separate Docker instances.\n\nSee `selenium-standalone` Docker instance declaration\n[Ubuntu.dockerfile](https://github.com/serbanghita/selenium-standalone-docker/blob/master/Ubuntu.dockerfile).\n\n**Run**\n\n1. `git clone git@github.com:serbanghita/webdriverio-docker.git`\n1. `cd my-wdio`\n1. `docker-compose up` (` -d --build --force-recreate`)\n1. `docker-compose ps`\n\n                Name                 Command        State           Ports\n        --------------------------------------------------------------------------\n        my-wdio_seleniumapp_1   npm run selenium    Up      0.0.0.0:4444-\u003e4444/tcp\n        my-wdio_testapp_1       tail -f /dev/null   Up\n\n\n1. `docker exec my-wdio_testapp_1 npm run test` - You should see tests pass\n\n\n**Wiki**\n\nUsing `docker` CLI command\n\n```\ndocker network create --driver bridge testing-lan\ndocker run -d -p 4444:4444 --net testing-lan --rm --name seleniumapp serbanghita/selenium-standalone\ndocker build -t serbanghita/my-wdio .\ndocker run -d --net testing-lan --rm --name myapp serbanghita/my-wdio\ndocker exec myapp npm test\n```\n\nUsing `docker-composer` CLI command\n\n* Start: `docker-compose up -d --build --force-recreate`\n* Stop: `docker-compose stop`\n* Reconfigure: `docker-compose down \u0026\u0026 docker-compose pull`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserbanghita%2Fwebdriverio-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserbanghita%2Fwebdriverio-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserbanghita%2Fwebdriverio-docker/lists"}