{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/657","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/657/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/657/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/657","id":87728021,"number":657,"title":"Error when using ActionBuilder with Firefoxdriver: 'Cannot press more then one button'","user":{"login":"philipfong","id":10726718,"avatar_url":"https://avatars.githubusercontent.com/u/10726718?v=3","gravatar_id":"","url":"https://api.github.com/users/philipfong","html_url":"https://github.com/philipfong","followers_url":"https://api.github.com/users/philipfong/followers","following_url":"https://api.github.com/users/philipfong/following{/other_user}","gists_url":"https://api.github.com/users/philipfong/gists{/gist_id}","starred_url":"https://api.github.com/users/philipfong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipfong/subscriptions","organizations_url":"https://api.github.com/users/philipfong/orgs","repos_url":"https://api.github.com/users/philipfong/repos","events_url":"https://api.github.com/users/philipfong/events{/privacy}","received_events_url":"https://api.github.com/users/philipfong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-12T13:24:44Z","updated_at":"2015-09-28T16:53:33Z","closed_at":"2015-07-02T05:27:02Z","body":"**Environment:**\r\n\r\nRuby 2.16 on Windows\r\nSelenium WebDriver 2.46.2\r\nRSpec 3.2 with Capybara 2.4.4\r\nFirefox version 38.0.5\r\n\r\n**Steps to reproduce:**\r\n\r\nI am using the ActionBuilder to complete some rather unconventional dragging and dropping of items within an app that I'm testing.  Here is a trimmed down version of the method I'm using where I'm omitting a few conditional statements that are not relevant to this bug report:\r\n\r\n    def drag_to_dashboard(type)\r\n      actionbuilder = page.driver.browser.action\r\n      source = find('.toolbox li', :text => type).native\r\n      actionbuilder.click_and_hold(source).perform\r\n      actionbuilder.move_to(find('h6', :text => 'TOOLBOX').native).perform\r\n      actionbuilder.move_by(90, 0).perform\r\n      actionbuilder.release.perform\r\n    end\r\n\r\nThe method is designed to find an element, click and hold, drag it to another element, move it to another offset, then finally release the left mouse button.\r\n\r\n**Observed behavior:**\r\n\r\nWhen the test example reaches this method, I am getting this error after running rspec:\r\n\r\nUnknownError: Cannot press more then one button or an already pressed button.'UnknownError: Cannot press more then one button or an already pressed button.' when calling method: [wdIMouse::down]\r\n[remote server] file:///C:/Users/CoE/AppData/Local/Temp/webdriver-profile20150611-4876-19cmmpj/extensions/fxdriver@googlecode.com/components/driver-component.js:10667:in `FirefoxDriver.prototype.mouseButtonDown'\r\n[remote server] file:///C:/Users/CoE/AppData/Local/Temp/webdriver-profile20150611-4876-19cmmpj/extensions/fxdriver@googlecode.com/components/command-processor.js:12282:in `DelayedCommand.prototype.executeInternal_/h'\r\n[remote server] file:///C:/Users/CoE/AppData/Local/Temp/webdriver-profile20150611-4876-19cmmpj/extensions/fxdriver@googlecode.com/components/command-processor.js:12287:in `DelayedCommand.prototype.executeInternal_'\r\n[remote server] file:///C:/Users/CoE/AppData/Local/Temp/webdriver-profile20150611-4876-19cmmpj/extensions/fxdriver@googlecode.com/components/command-processor.js:12229:in `DelayedCommand.prototype.execute/<'\r\n\r\n**Expected behavior**: The method works perfectly fine with ChromeDriver and should work with Firefoxdriver as well"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/143803064","html_url":"https://github.com/SeleniumHQ/selenium/issues/657#issuecomment-143803064","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/657","id":143803064,"user":{"login":"om-nishu-trantor","id":7137309,"avatar_url":"https://avatars.githubusercontent.com/u/7137309?v=3","gravatar_id":"","url":"https://api.github.com/users/om-nishu-trantor","html_url":"https://github.com/om-nishu-trantor","followers_url":"https://api.github.com/users/om-nishu-trantor/followers","following_url":"https://api.github.com/users/om-nishu-trantor/following{/other_user}","gists_url":"https://api.github.com/users/om-nishu-trantor/gists{/gist_id}","starred_url":"https://api.github.com/users/om-nishu-trantor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/om-nishu-trantor/subscriptions","organizations_url":"https://api.github.com/users/om-nishu-trantor/orgs","repos_url":"https://api.github.com/users/om-nishu-trantor/repos","events_url":"https://api.github.com/users/om-nishu-trantor/events{/privacy}","received_events_url":"https://api.github.com/users/om-nishu-trantor/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T16:53:33Z","updated_at":"2015-09-28T16:53:33Z","body":"I've written the piece of code I am performing. Before that is just a ```visit this_path``` command to the page."}}