{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/4921","repository_url":"https://api.github.com/repos/angular/protractor","labels_url":"https://api.github.com/repos/angular/protractor/issues/4921/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/4921/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/4921/events","html_url":"https://github.com/angular/protractor/issues/4921","id":350461481,"node_id":"MDU6SXNzdWUzNTA0NjE0ODE=","number":4921,"title":"With protractor and firefox, I can´t drag and drop an element","user":{"login":"carodrigues","id":11546961,"node_id":"MDQ6VXNlcjExNTQ2OTYx","avatar_url":"https://avatars2.githubusercontent.com/u/11546961?v=4","gravatar_id":"","url":"https://api.github.com/users/carodrigues","html_url":"https://github.com/carodrigues","followers_url":"https://api.github.com/users/carodrigues/followers","following_url":"https://api.github.com/users/carodrigues/following{/other_user}","gists_url":"https://api.github.com/users/carodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/carodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carodrigues/subscriptions","organizations_url":"https://api.github.com/users/carodrigues/orgs","repos_url":"https://api.github.com/users/carodrigues/repos","events_url":"https://api.github.com/users/carodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/carodrigues/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-14T14:45:59Z","updated_at":"2018-08-15T07:48:49Z","closed_at":null,"author_association":"NONE","body":"With protractor and firefox (61.0.2), I want to drag and drop an element with this:\r\n\r\nconst plot0 = element(by.id('AnalyseErrors'));\r\nbrowser.actions().dragAndDrop(plot0, {x: 70, y: 70}).mouseDown().mouseMove({x: 10, y: 10})\r\n    .mouseMove({x: 10, y: 10})\r\n    .mouseMove({x: 10, y: 10})\r\n    .mouseMove({x: 10, y: 10})\r\n    .mouseMove({x: 10, y: 10})\r\n    .perform();\r\nI also try\r\nbrowser.actions().dragAndDrop(plot0, {x: 70, y: 70}).perform();\r\n\r\n\r\nI even try:\r\n  const element0 = element(by.id('AnalyseErrors')).getWebElement(); // this is the elemet to move\r\n  const element1 = element(by.css('body > app-root > div > ng-component > div > div.editor-container')).getWebElement(); // this is the content zone to drop the element\r\n  browser.actions().\r\n  dragAndDrop(element0, element1).\r\n  perform();\r\n\r\nThe element is located on a side bar, i have to select him and, with the mouse , dragg and drop to a content zone.\r\n\r\nUnfortaly doesn't work. - Failed: POST /session/875dc0ad-4d29-4bff-9efc-98e4d05379f4/moveto did not match a known command\r\n\r\nDo you know why?\r\n\r\nIf use Chrome, i don´t have this error but the dragAndDrop doesn´t work too. "},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/413121072","html_url":"https://github.com/angular/protractor/issues/4921#issuecomment-413121072","issue_url":"https://api.github.com/repos/angular/protractor/issues/4921","id":413121072,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzEyMTA3Mg==","user":{"login":"IgorSasovets","id":27974884,"node_id":"MDQ6VXNlcjI3OTc0ODg0","avatar_url":"https://avatars3.githubusercontent.com/u/27974884?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorSasovets","html_url":"https://github.com/IgorSasovets","followers_url":"https://api.github.com/users/IgorSasovets/followers","following_url":"https://api.github.com/users/IgorSasovets/following{/other_user}","gists_url":"https://api.github.com/users/IgorSasovets/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorSasovets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorSasovets/subscriptions","organizations_url":"https://api.github.com/users/IgorSasovets/orgs","repos_url":"https://api.github.com/users/IgorSasovets/repos","events_url":"https://api.github.com/users/IgorSasovets/events{/privacy}","received_events_url":"https://api.github.com/users/IgorSasovets/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T07:48:49Z","updated_at":"2018-08-15T07:48:49Z","author_association":"CONTRIBUTOR","body":"Hi, @carodrigues ! It occurs due to issues with actions class operations support. Take a look at [protractor-firefox-support](https://github.com/IgorSasovets/protractor-firefox-support). I use it in everyday activity and it helps me a lot) Hope, it'll help you too) Also, take a look at similar issues:\r\nhttps://github.com/angular/protractor/issues/4177\r\nhttps://github.com/angular/protractor/issues/4687\r\nhttps://github.com/angular/protractor/issues/4725"}}
{"actor":{"display_login":"IgorSasovets"}}