Interviewer And Interviewee Guide

Automation Interview Question:

Tell me how do perform drag and drop using Selenium WebDriver?

Submitted by: Muhammad
The next Actions class is used to perform drag and drop:

Actions builder = new Actions(driver);
Action dragAndDrop = builder.clickAndHold(SourceElement)
moveToElement(TargetElement)
release(TargetElement)
build();
dragAndDrop.perform();
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.