{"id":28399450,"url":"https://github.com/codeception/phantomjsenv","last_synced_at":"2025-09-14T20:22:50.778Z","repository":{"id":23246029,"uuid":"26603844","full_name":"Codeception/PhantomJsEnv","owner":"Codeception","description":"Docker image with PhantomJS installed","archived":false,"fork":false,"pushed_at":"2016-03-16T11:20:48.000Z","size":4,"stargazers_count":20,"open_issues_count":1,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-05T06:36:35.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Codeception.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}},"created_at":"2014-11-13T19:26:37.000Z","updated_at":"2023-06-22T15:30:07.000Z","dependencies_parsed_at":"2022-07-23T22:02:01.725Z","dependency_job_id":null,"html_url":"https://github.com/Codeception/PhantomJsEnv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Codeception/PhantomJsEnv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FPhantomJsEnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FPhantomJsEnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FPhantomJsEnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FPhantomJsEnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codeception","download_url":"https://codeload.github.com/Codeception/PhantomJsEnv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codeception%2FPhantomJsEnv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275161125,"owners_count":25415937,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-01T08:09:08.683Z","updated_at":"2025-09-14T20:22:50.706Z","avatar_url":"https://github.com/Codeception.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"PhantomJsEnv\n===========\n\nThis is a Docker Image with PhantomJS headless browser installed. PhantomJsEnv was created to run Selenium tests on PhantomJs wihtout installing NodeJS and PhantomJS. PhantomJs is executed inside a container in ghostrdirver mode and connected from a host machine.\n\n## Installation\n\nGrab prepacked [image from a Docker Hub](https://registry.hub.docker.com/u/davert/phantomjs-env/)\n\n```\ndocker pull davert/phantomjs-env\n```\n\n\nOr build image by yourself. Just clone this repo and run\n\n```\ndocker build -t phantomjs-env .\n```\n\n## Usage\n\nPhantomJsEnv is able to connect to local or remote web sites. \n\n### Accessing Remote Website\n\nRun the container and bind it to default Webdriver port `4444` \n\n```\ndocker run -i -t -p 4444:4444 davert/phantomjs-env \n```\n\n### Accessing Local Website by Port\n\nIn case you want to access local website from container you can do the following:\nif application is run on localhost (`0.0.0.0`) on a specific port, you can pass `APP_PORT` environment variable into it:\n\n```\nphp -S 0.0.0.0:8000 \u0026 \ndocker run -i -t -p 4444:4444 -e APP_PORT=8000 davert/phantomjs-env \n```\n\n### Accessing Local Website by Host\n\nIn case local web site is served by nginx or Apache, and is configured for a specific host, you can pass host name as environment variable:\n\n```\ndocker run -i -t -p 4444:4444 -e APP_HOST=myapp davert/phantomjs-env \n```\n\n### Accessing Site with self-signed certificate\n\nIf you want to test site in local environment without proper SSL certificate, you can pass APP_ANY_PROTOCOL setting as environment variable:\n\n```\ndocker run -i -t -p 4444:4444 -e APP_ANY_PROTOCOL=true davert/phantomjs-env \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeception%2Fphantomjsenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeception%2Fphantomjsenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeception%2Fphantomjsenv/lists"}