{"id":37234664,"url":"https://github.com/dennisinteractive/phantomjs-extension","last_synced_at":"2026-01-15T04:00:13.215Z","repository":{"id":56965720,"uuid":"108396922","full_name":"dennisinteractive/PhantomJs-Extension","owner":"dennisinteractive","description":"Adds a PhantomJs driver to Behat's Mink extension. This will automatically start and stop PhantomJs in your tests.","archived":false,"fork":true,"pushed_at":"2018-05-24T11:34:25.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-01-14T14:37:01.892Z","etag":null,"topics":["behat"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"saintberry/PhantomJs-Extension","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennisinteractive.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":"2017-10-26T10:28:01.000Z","updated_at":"2018-05-24T11:34:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dennisinteractive/PhantomJs-Extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dennisinteractive/PhantomJs-Extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2FPhantomJs-Extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2FPhantomJs-Extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2FPhantomJs-Extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2FPhantomJs-Extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennisinteractive","download_url":"https://codeload.github.com/dennisinteractive/PhantomJs-Extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2FPhantomJs-Extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":["behat"],"created_at":"2026-01-15T04:00:12.508Z","updated_at":"2026-01-15T04:00:13.187Z","avatar_url":"https://github.com/dennisinteractive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PhantomJS-Extension\n==============\n\nPhantomJS-Extension supplies a `phantomjs` driver to Behat's Mink Extension. This driver is a simple extension of the `selenium2` driver with a simple addition, it will start and stop PhantomJs automatically as your suites run.\n\nUsage\n----------------------------------\nEnsure that the extension is loaded in your `behat.yml`:\n```\ndefault:\n  extensions:\n    Behat\\PhantomJsExtension: ~\n```\nThe extension has no direct configuration options.\n\nMake the PhantomJs driver your driver for `javascript_sessions` in Mink Extension config:\n```\nBehat\\MinkExtension:\n  javascript_session: phantomjs\n```\nWith the configuration above whenever an `@javascript` step is found in your suite Mink's `selenium2` driver will use the test your application through `phantomjs` running in `webdriver mode` on port \t`8643`\n\nConfiguration Options \n----------------------------------\nThe PhantomJsDriver's options are an extension of Selenium2 driver. Default config options follow:\n```\nextensions:\n  Behat\\PhantomJsExtension: ~\n  Behat\\MinkExtension:\n    javascript_session: phantomjs\n    phantomjs:\n      wd_host: http://localhost:8643/wd/hub\n      wd_port: 8643\n      bin: /usr/local/bin/phantomjs\n      curl_options:\n        CURLOPT_CONNECTTIMEOUT: 60\n        CURLOPT_TIMEOUT: 60\n      browser: firefox\n      capabilities: ~\n```\nTo do\n----------------------------------\nAs `Symfony/Process` is used to manage the `phantomjs` binary it's quite easy to capture `stdout` or `stderr` output. Configuration options could be added to manage log file locations where this data could be directed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fphantomjs-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennisinteractive%2Fphantomjs-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fphantomjs-extension/lists"}