Clicks

payments.confirmation.click() expandArea.doubleClick() paymentsTable.rightClick() payments.confirmation.shiftClick() payments.confirmation.altClick() payments.confirmation.controlClick() payments.confirmation.commandOrControlClick() payments.confirmation.commandOrControlClick()

Modifications

payments.dollarAmount.clear() payments.dollarAmount.sendKeys("104.5") Generic way to set a form element value. Will be covered more in browser/forms forms payments.dollarAmount.setValue("104.5")

Modifications No Log

payments.secret.sendKeysNoLog("my secret token") payments.secret.setValueNoLog("my secret token")

Move over

menu.hover()

Drag And Drop

def draggable = $("#draggable") def dropZone = $("#drop-zone") draggable.dragAndDropOver(dropZone) def draggable = $("#draggable") draggable.dragAndDropBy(50, 50)

Scrolling

sectionTwo.scrollIntoView() container.scrollToBottom() container.scrollToTop() container.scrollToRight() container.scrollToRight() container.scrollToLeft() container.scrollTo(100, 50)