{"action":"closed","issue":{"url":"https://api.github.com/repos/laracasts/Integrated/issues/96","labels_url":"https://api.github.com/repos/laracasts/Integrated/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/laracasts/Integrated/issues/96/comments","events_url":"https://api.github.com/repos/laracasts/Integrated/issues/96/events","html_url":"https://github.com/laracasts/Integrated/issues/96","id":86688707,"number":96,"title":"Any way to press a <button> instead of <input type=submit>","user":{"login":"sameerpanjwani","id":8542695,"avatar_url":"https://avatars.githubusercontent.com/u/8542695?v=3","gravatar_id":"","url":"https://api.github.com/users/sameerpanjwani","html_url":"https://github.com/sameerpanjwani","followers_url":"https://api.github.com/users/sameerpanjwani/followers","following_url":"https://api.github.com/users/sameerpanjwani/following{/other_user}","gists_url":"https://api.github.com/users/sameerpanjwani/gists{/gist_id}","starred_url":"https://api.github.com/users/sameerpanjwani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameerpanjwani/subscriptions","organizations_url":"https://api.github.com/users/sameerpanjwani/orgs","repos_url":"https://api.github.com/users/sameerpanjwani/repos","events_url":"https://api.github.com/users/sameerpanjwani/events{/privacy}","received_events_url":"https://api.github.com/users/sameerpanjwani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-09T18:22:39Z","updated_at":"2015-08-20T03:37:29Z","closed_at":"2015-08-20T03:37:29Z","body":"Any way to \"press\" a button <button>, doesn't seem to work.\r\n\r\n```php\r\nuse Laracasts\\Integrated\\Extensions\\Selenium;\r\n\r\nuse Laracasts\\Integrated\\Services\\Laravel\\Application as Laravel;\r\n\r\nclass ValidationTest extends Selenium\r\n{\r\n\r\n    use Laravel;\r\n\r\nfunction test_basic_validation()\r\n    {\r\n        $this->visitTestPage()\r\n            ->see('Login')\r\n            ->type('abc@def.com', 'email')\r\n            ->type(' ', 'secret_password')\r\n            ->press('Submit This')\r\n            ->wait(2000)\r\n            ->see(\"Success\")\r\n  }\r\n\r\n````\r\n\r\nHtml\r\n\r\n````\r\n<button type=\"submit\">Submit This</button>\r\n````\r\n\r\n\r\nError:\r\n````\r\nCurl error thrown for http POST to http://localhost:4444/wd/hub/session/e2d34247-e11f-4a2a-8bed-1f6e79d67d99/element with params: {\"using\":\"css selector\",\"value\":\"input[value='Submit This']\"}\r\n````"}}