public void DragAndDropTest() { var dragAndDrop = new InternetPage(this.DriverContext) .OpenHomePage() .GoToDragAndDropPage() .MoveElementAtoElementB(); Assert.IsTrue(dragAndDrop.IsElementAMovedToB(), "Element is not moved."); }