0

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

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

browser.actions().
    dragAndDrop(element1, element2).
    perform();

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, privacy policy and cookie policy

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