I need to automate a portion of the platform that involves opening a third party editor (BeeFree) and add contents to the editor. The editor is used to create email templates and main content (text, images, dividers) need to be dragged/dropped into the main editor.

Is there any way to drag/drop elements using protractor?

1 Answer 1


Protractor provides an example for drag and drop in their official API docs

    dragAndDrop(element1, element2).

actions() in protractor extends the functionality in selenium-webdriver, further reading available in the selenium-webdriver docs if you need more actions, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.