How To Write Script In Selenium Web Driver For Drag . Let’s, see the scroll down a web page using the selenium webdriver with following 3 scenarios : Drag and drop in selenium | drag, and drop is an action that is performed with a mouse when a user drags (moves) a web element and then drops (places) on the defined area of a web page. Selenium WebDriver script for login PROTECHSKILLS from www.protechskills.com Below i have given my code: We will create our test case step by step in order to give you a complete understanding of how to handle drag and drop in webdriver. Create a new class in the project.