{"action":"created","comment":{"url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/comments/26159097","id":26159097,"diff_hunk":"@@ -0,0 +1,36 @@\n+<?php\n+\n+namespace Behat\\Mink\\Tests\\Driver\\Custom;\n+\n+use Behat\\Mink\\Driver\\Selenium2Driver;\n+use Behat\\Mink\\Tests\\Driver\\TestCase;\n+\n+class desiredCapabilitieTest extends TestCase\n+{\n+\n+    public function testGetDesiredCapabilties()\n+    {\n+        $driver = $this->getSession()->getDriver();\n+        $this->assertNotEmpty($driver->getDesiredCapabilities(), 'desiredCapabilities empty');","path":"tests/Custom/DesiredCapabilitiesTest.php","position":14,"original_position":14,"commit_id":"698f503fe321659aa595b6a0ae13ed1737e8239f","original_commit_id":"698f503fe321659aa595b6a0ae13ed1737e8239f","user":{"login":"cmacnaughton-al","id":11035430,"avatar_url":"https://avatars.githubusercontent.com/u/11035430?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacnaughton-al","html_url":"https://github.com/cmacnaughton-al","followers_url":"https://api.github.com/users/cmacnaughton-al/followers","following_url":"https://api.github.com/users/cmacnaughton-al/following{/other_user}","gists_url":"https://api.github.com/users/cmacnaughton-al/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacnaughton-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacnaughton-al/subscriptions","organizations_url":"https://api.github.com/users/cmacnaughton-al/orgs","repos_url":"https://api.github.com/users/cmacnaughton-al/repos","events_url":"https://api.github.com/users/cmacnaughton-al/events{/privacy}","received_events_url":"https://api.github.com/users/cmacnaughton-al/received_events","type":"User","site_admin":false},"body":"Where would I instantiate the driver?  It appears that it's already instantiated once phpunit hits the DesiredCapabilitiesTest class, and that's done from \\Behat\\Mink\\Driver\\TestCase.  ","created_at":"2015-03-10T19:50:11Z","updated_at":"2015-03-10T19:50:11Z","html_url":"https://github.com/minkphp/MinkSelenium2Driver/pull/204#discussion_r26159097","pull_request_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/comments/26159097"},"html":{"href":"https://github.com/minkphp/MinkSelenium2Driver/pull/204#discussion_r26159097"},"pull_request":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204","id":30593422,"html_url":"https://github.com/minkphp/MinkSelenium2Driver/pull/204","diff_url":"https://github.com/minkphp/MinkSelenium2Driver/pull/204.diff","patch_url":"https://github.com/minkphp/MinkSelenium2Driver/pull/204.patch","issue_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/204","number":204,"state":"open","locked":false,"title":"Created accessor for desiredCapabilities","user":{"login":"cmacnaughton-al","id":11035430,"avatar_url":"https://avatars.githubusercontent.com/u/11035430?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacnaughton-al","html_url":"https://github.com/cmacnaughton-al","followers_url":"https://api.github.com/users/cmacnaughton-al/followers","following_url":"https://api.github.com/users/cmacnaughton-al/following{/other_user}","gists_url":"https://api.github.com/users/cmacnaughton-al/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacnaughton-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacnaughton-al/subscriptions","organizations_url":"https://api.github.com/users/cmacnaughton-al/orgs","repos_url":"https://api.github.com/users/cmacnaughton-al/repos","events_url":"https://api.github.com/users/cmacnaughton-al/events{/privacy}","received_events_url":"https://api.github.com/users/cmacnaughton-al/received_events","type":"User","site_admin":false},"body":"Closes #202 ","created_at":"2015-03-05T20:41:09Z","updated_at":"2015-03-10T19:50:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4b8b619aa60b38f6007b5688dd9a63ced52c2f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204/commits","review_comments_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204/comments","review_comment_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/204/comments","statuses_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/statuses/698f503fe321659aa595b6a0ae13ed1737e8239f","head":{"label":"cmacnaughton-al:feature/create-desiredCapabilities-accessor","ref":"feature/create-desiredCapabilities-accessor","sha":"698f503fe321659aa595b6a0ae13ed1737e8239f","user":{"login":"cmacnaughton-al","id":11035430,"avatar_url":"https://avatars.githubusercontent.com/u/11035430?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacnaughton-al","html_url":"https://github.com/cmacnaughton-al","followers_url":"https://api.github.com/users/cmacnaughton-al/followers","following_url":"https://api.github.com/users/cmacnaughton-al/following{/other_user}","gists_url":"https://api.github.com/users/cmacnaughton-al/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacnaughton-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacnaughton-al/subscriptions","organizations_url":"https://api.github.com/users/cmacnaughton-al/orgs","repos_url":"https://api.github.com/users/cmacnaughton-al/repos","events_url":"https://api.github.com/users/cmacnaughton-al/events{/privacy}","received_events_url":"https://api.github.com/users/cmacnaughton-al/received_events","type":"User","site_admin":false},"repo":{"id":31730612,"name":"MinkSelenium2Driver","full_name":"cmacnaughton-al/MinkSelenium2Driver","owner":{"login":"cmacnaughton-al","id":11035430,"avatar_url":"https://avatars.githubusercontent.com/u/11035430?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacnaughton-al","html_url":"https://github.com/cmacnaughton-al","followers_url":"https://api.github.com/users/cmacnaughton-al/followers","following_url":"https://api.github.com/users/cmacnaughton-al/following{/other_user}","gists_url":"https://api.github.com/users/cmacnaughton-al/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacnaughton-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacnaughton-al/subscriptions","organizations_url":"https://api.github.com/users/cmacnaughton-al/orgs","repos_url":"https://api.github.com/users/cmacnaughton-al/repos","events_url":"https://api.github.com/users/cmacnaughton-al/events{/privacy}","received_events_url":"https://api.github.com/users/cmacnaughton-al/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmacnaughton-al/MinkSelenium2Driver","description":"Selenium2 (webdriver) driver for Mink framework","fork":true,"url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver","forks_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/forks","keys_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/teams","hooks_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/hooks","issue_events_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/issues/events{/number}","events_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/events","assignees_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/assignees{/user}","branches_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/branches{/branch}","tags_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/tags","blobs_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/statuses/{sha}","languages_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/languages","stargazers_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/stargazers","contributors_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/contributors","subscribers_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/subscribers","subscription_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/subscription","commits_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/contents/{+path}","compare_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/merges","archive_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/downloads","issues_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/issues{/number}","pulls_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/pulls{/number}","milestones_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/milestones{/number}","notifications_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/labels{/name}","releases_url":"https://api.github.com/repos/cmacnaughton-al/MinkSelenium2Driver/releases{/id}","created_at":"2015-03-05T19:00:31Z","updated_at":"2015-03-05T20:37:09Z","pushed_at":"2015-03-06T16:09:47Z","git_url":"git://github.com/cmacnaughton-al/MinkSelenium2Driver.git","ssh_url":"git@github.com:cmacnaughton-al/MinkSelenium2Driver.git","clone_url":"https://github.com/cmacnaughton-al/MinkSelenium2Driver.git","svn_url":"https://github.com/cmacnaughton-al/MinkSelenium2Driver","homepage":null,"size":335,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"minkphp:master","ref":"master","sha":"13245d4f4ade236ca86ae8c9e8d38ceb37c51236","user":{"login":"minkphp","id":10380339,"avatar_url":"https://avatars.githubusercontent.com/u/10380339?v=3","gravatar_id":"","url":"https://api.github.com/users/minkphp","html_url":"https://github.com/minkphp","followers_url":"https://api.github.com/users/minkphp/followers","following_url":"https://api.github.com/users/minkphp/following{/other_user}","gists_url":"https://api.github.com/users/minkphp/gists{/gist_id}","starred_url":"https://api.github.com/users/minkphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minkphp/subscriptions","organizations_url":"https://api.github.com/users/minkphp/orgs","repos_url":"https://api.github.com/users/minkphp/repos","events_url":"https://api.github.com/users/minkphp/events{/privacy}","received_events_url":"https://api.github.com/users/minkphp/received_events","type":"Organization","site_admin":false},"repo":{"id":4487267,"name":"MinkSelenium2Driver","full_name":"minkphp/MinkSelenium2Driver","owner":{"login":"minkphp","id":10380339,"avatar_url":"https://avatars.githubusercontent.com/u/10380339?v=3","gravatar_id":"","url":"https://api.github.com/users/minkphp","html_url":"https://github.com/minkphp","followers_url":"https://api.github.com/users/minkphp/followers","following_url":"https://api.github.com/users/minkphp/following{/other_user}","gists_url":"https://api.github.com/users/minkphp/gists{/gist_id}","starred_url":"https://api.github.com/users/minkphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minkphp/subscriptions","organizations_url":"https://api.github.com/users/minkphp/orgs","repos_url":"https://api.github.com/users/minkphp/repos","events_url":"https://api.github.com/users/minkphp/events{/privacy}","received_events_url":"https://api.github.com/users/minkphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minkphp/MinkSelenium2Driver","description":"Selenium2 (webdriver) driver for Mink framework","fork":false,"url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver","forks_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/forks","keys_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/teams","hooks_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/hooks","issue_events_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/events{/number}","events_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/events","assignees_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/assignees{/user}","branches_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/branches{/branch}","tags_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/tags","blobs_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/statuses/{sha}","languages_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/languages","stargazers_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/stargazers","contributors_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/contributors","subscribers_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/subscribers","subscription_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/subscription","commits_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/contents/{+path}","compare_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/merges","archive_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/downloads","issues_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues{/number}","pulls_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls{/number}","milestones_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/milestones{/number}","notifications_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/labels{/name}","releases_url":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/releases{/id}","created_at":"2012-05-29T20:38:29Z","updated_at":"2015-03-10T06:28:25Z","pushed_at":"2015-02-21T12:31:16Z","git_url":"git://github.com/minkphp/MinkSelenium2Driver.git","ssh_url":"git@github.com:minkphp/MinkSelenium2Driver.git","clone_url":"https://github.com/minkphp/MinkSelenium2Driver.git","svn_url":"https://github.com/minkphp/MinkSelenium2Driver","homepage":null,"size":1064,"stargazers_count":46,"watchers_count":46,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":29,"forks":74,"open_issues":29,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204"},"html":{"href":"https://github.com/minkphp/MinkSelenium2Driver/pull/204"},"issue":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/204"},"comments":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/minkphp/MinkSelenium2Driver/statuses/698f503fe321659aa595b6a0ae13ed1737e8239f"}}}}