public void DragElementVerticalTest() { //moves element vertical var draggablePage = new DraggablePage(driver); draggablePage.NavigateTo(); draggablePage.DragElementVertical(); draggablePage.SourseElementVertical.GetAttribute("style").Should().Be("position: relative; height: 90px; bottom: auto; left: 0px; top: 176px;"); }