{"action":"created","issue":{"url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/369","repository_url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium","labels_url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/369/comments","events_url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/369/events","html_url":"https://github.com/giorgiosironi/phpunit-selenium/issues/369","id":133208134,"number":369,"title":"Can't connect to a Selenium Grid from tests","user":{"login":"djjohnjosephuk","id":2902031,"avatar_url":"https://avatars.githubusercontent.com/u/2902031?v=3","gravatar_id":"","url":"https://api.github.com/users/djjohnjosephuk","html_url":"https://github.com/djjohnjosephuk","followers_url":"https://api.github.com/users/djjohnjosephuk/followers","following_url":"https://api.github.com/users/djjohnjosephuk/following{/other_user}","gists_url":"https://api.github.com/users/djjohnjosephuk/gists{/gist_id}","starred_url":"https://api.github.com/users/djjohnjosephuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djjohnjosephuk/subscriptions","organizations_url":"https://api.github.com/users/djjohnjosephuk/orgs","repos_url":"https://api.github.com/users/djjohnjosephuk/repos","events_url":"https://api.github.com/users/djjohnjosephuk/events{/privacy}","received_events_url":"https://api.github.com/users/djjohnjosephuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-12T10:50:01Z","updated_at":"2016-02-12T11:54:04Z","closed_at":"2016-02-12T11:52:57Z","body":"How is the correct way to connect to a selenium grid hub?\r\n\r\nmy test code:\r\n\r\n    public static $browsers = array(\r\n\t\tarray(\r\n\t\t\t'browserName' \t\t=> 'firefox',\r\n\t\t\t'host'\t\t\t\t=> 'my-jenkins-ip-or-host',\r\n\t\t\t'port'\t\t\t\t        => 4440\r\n\t\t)\r\n\t);\r\n\r\nthe hub and nodes are all up and connected to each other, confirmed at my-jenkins:4440/grid/console. Running that test above on any of the nodes I have set up comes back with a 'no active session' message.\r\n\r\nAm I missing something really simple? Or does phpunit-selenium not support connecting to grids, and will only work off local selenium startups?"},"comment":{"url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/comments/183293927","html_url":"https://github.com/giorgiosironi/phpunit-selenium/issues/369#issuecomment-183293927","issue_url":"https://api.github.com/repos/giorgiosironi/phpunit-selenium/issues/369","id":183293927,"user":{"login":"djjohnjosephuk","id":2902031,"avatar_url":"https://avatars.githubusercontent.com/u/2902031?v=3","gravatar_id":"","url":"https://api.github.com/users/djjohnjosephuk","html_url":"https://github.com/djjohnjosephuk","followers_url":"https://api.github.com/users/djjohnjosephuk/followers","following_url":"https://api.github.com/users/djjohnjosephuk/following{/other_user}","gists_url":"https://api.github.com/users/djjohnjosephuk/gists{/gist_id}","starred_url":"https://api.github.com/users/djjohnjosephuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djjohnjosephuk/subscriptions","organizations_url":"https://api.github.com/users/djjohnjosephuk/orgs","repos_url":"https://api.github.com/users/djjohnjosephuk/repos","events_url":"https://api.github.com/users/djjohnjosephuk/events{/privacy}","received_events_url":"https://api.github.com/users/djjohnjosephuk/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T11:54:04Z","updated_at":"2016-02-12T11:54:04Z","body":"Closing - I can now connect to the hub via the Jenkins Selenium plugin, still can't connect to a standalone built hub but that appears to be more of a setup issue outside of phpunit-selenium"}}