Example usage for org.openqa.selenium Keys SPACE

List of usage examples for org.openqa.selenium Keys SPACE

Introduction

In this page you can find the example usage for org.openqa.selenium Keys SPACE.

Prototype

Keys SPACE

To view the source code for org.openqa.selenium Keys SPACE.

Click Source Link

Usage

From source file:se.nackademin.selenide.pages.UserFormPage.java

public void clickLibrarianRadioButton() {

    clickButton("librarian role radio button", librarianRadioButton);
    WebElement element = new WebDriverWait(getWebDriver(), 30)
            .until(ExpectedConditions.elementToBeClickable(librarianRadioButton));
    element.sendKeys(Keys.SPACE);
}