{"action":"created","issue":{"url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/6","labels_url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/6/comments","events_url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/6/events","html_url":"https://github.com/Ricardonacif/touch_action/issues/6","id":74087184,"number":6,"title":"NoMethodError: undefined method `touch_action'","user":{"login":"D-Speiser","id":9503191,"avatar_url":"https://avatars.githubusercontent.com/u/9503191?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Speiser","html_url":"https://github.com/D-Speiser","followers_url":"https://api.github.com/users/D-Speiser/followers","following_url":"https://api.github.com/users/D-Speiser/following{/other_user}","gists_url":"https://api.github.com/users/D-Speiser/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Speiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Speiser/subscriptions","organizations_url":"https://api.github.com/users/D-Speiser/orgs","repos_url":"https://api.github.com/users/D-Speiser/repos","events_url":"https://api.github.com/users/D-Speiser/events{/privacy}","received_events_url":"https://api.github.com/users/D-Speiser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-07T18:43:19Z","updated_at":"2015-05-07T21:56:53Z","closed_at":"2015-05-07T21:56:53Z","body":"I am currently trying to use touch_action for some capybara tests, but I keep getting an undefined method error.\r\nThe gem is installed, and is required within my script:\r\n```ruby\r\nrequire 'touch_action'\r\nrequire 'touch_action/capybara_rspec_helper'\r\n```\r\n```ruby\r\ngem 'touch_action'\r\n```\r\n\r\n```ruby\r\n[3] pry(#<Object>)> page.driver\r\n=> #<Capybara::Selenium::Driver:0x00000108e1f678\r\n @app=nil,\r\n @browser=#<Selenium::WebDriver::Driver:0x4f12631b69e1a21e browser=:chrome>,\r\n @exit_status=nil,\r\n @frame_handles={},\r\n @options={:browser=>:chrome}>\r\n[4] pry(#<Object>)> page.driver.touch_action\r\nNoMethodError: undefined method `touch_action' for #<Capybara::Selenium::Driver:0x00000108e1f678>\r\nfrom (pry):4:in `block in <top (required)>'\r\n[5] pry(#<Object>)> page.driver.browser\r\n=> #<Selenium::WebDriver::Driver:0x4f12631b69e1a21e browser=:chrome>\r\n[6] pry(#<Object>)> page.driver.browser.touch_action\r\nNoMethodError: undefined method `touch_action' for #<Selenium::WebDriver::Driver:0x4f12631b69e1a21e browser=:chrome>\r\nfrom (pry):6:in `block in <top (required)>'\r\n[7] pry(#<Object>)> respond_to?('touch_action')\r\n=> false\r\n```\r\nPlease take a look into this, or let me know what I am doing wrong. Thank you."},"comment":{"url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/comments/100032510","html_url":"https://github.com/Ricardonacif/touch_action/issues/6#issuecomment-100032510","issue_url":"https://api.github.com/repos/Ricardonacif/touch_action/issues/6","id":100032510,"user":{"login":"Ricardonacif","id":865780,"avatar_url":"https://avatars.githubusercontent.com/u/865780?v=3","gravatar_id":"","url":"https://api.github.com/users/Ricardonacif","html_url":"https://github.com/Ricardonacif","followers_url":"https://api.github.com/users/Ricardonacif/followers","following_url":"https://api.github.com/users/Ricardonacif/following{/other_user}","gists_url":"https://api.github.com/users/Ricardonacif/gists{/gist_id}","starred_url":"https://api.github.com/users/Ricardonacif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ricardonacif/subscriptions","organizations_url":"https://api.github.com/users/Ricardonacif/orgs","repos_url":"https://api.github.com/users/Ricardonacif/repos","events_url":"https://api.github.com/users/Ricardonacif/events{/privacy}","received_events_url":"https://api.github.com/users/Ricardonacif/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T21:56:53Z","updated_at":"2015-05-07T21:56:53Z","body":"Awesome :+1: "}}