Example usage for org.openqa.selenium By className

List of usage examples for org.openqa.selenium By className

Introduction

In this page you can find the example usage for org.openqa.selenium By className.

Prototype

public static By className(String className) 

Source Link

Document

Find elements based on the value of the "class" attribute.

Usage

From source file:com.hotwire.selenium.tools.c3.customer.C3MultipleAccountsSearchResultsPage.java

License:Open Source License

public C3MultipleAccountsSearchResultsPage(WebDriver webdriver) {
    super(webdriver, By.className("displayIterationPadding"));
}

From source file:com.hotwire.selenium.tools.c3.customer.C3PrinterFriendlyCaseHistoryPage.java

License:Open Source License

public List<String> getDescriptionContents() {
    List<WebElement> descriptionsPrinterPageWebElem = findMany(By.className(CASE_DESCRIPTION));
    List<String> descriptionsPrinterPage = new ArrayList<String>();

    for (WebElement elem : descriptionsPrinterPageWebElem) {
        descriptionsPrinterPage.add(elem.getText());
    }/*from   w  w  w  . j  a  v  a  2  s. c  om*/
    return descriptionsPrinterPage;
}

From source file:com.hotwire.selenium.tools.c3.customer.C3SearchPartnerPage.java

License:Open Source License

public C3SearchPartnerPage(WebDriver webdriver) {
    super(webdriver, By.className("customerSearchQueryForm"));
}

From source file:com.hotwire.selenium.tools.c3.customer.editAccountInfo.C3EditAccInfoPage.java

License:Open Source License

public C3EditAccInfoPage(WebDriver webDriver) {
    super(webDriver, By.className("formPadding"));
}

From source file:com.hotwire.selenium.tools.c3.customer.lpg.C3NewLowPriceGuaranteeForm.java

License:Open Source License

public C3NewLowPriceGuaranteeForm(WebDriver webdriver) {
    super(webdriver, By.className("LowPriceGuaranteeComp"));
}

From source file:com.hotwire.selenium.tools.c3.customer.lpg.HotelLPGModule.java

License:Open Source License

public HotelLPGModule(WebDriver webdriver) {
    super(webdriver, By.className("priceGuarantee"));
    super.lpgRefundBtn = lpgRefundBtn;
}

From source file:com.hotwire.selenium.tools.c3.hotel.C3BlockedHotelsPage.java

License:Open Source License

public List<WebElement> getBlockedHotels() {
    return findMany(By.className("evenRow"));
}

From source file:com.hotwire.selenium.tools.c3.hotel.C3HotelCaseHistoryPage.java

License:Open Source License

public C3HotelCaseHistoryPage(WebDriver webdriver) {
    super(webdriver, By.className("caseHistory"));
}

From source file:com.hotwire.selenium.tools.c3.hotel.oversells.C3HotelOversellFragment.java

License:Open Source License

public C3HotelOversellFragment(WebDriver webDriver) {
    super(webDriver, By.className("HotelDetailsSearch"));
}

From source file:com.hotwire.selenium.tools.c3.purchase.air.C3AirConfirmationPage.java

License:Open Source License

public C3AirConfirmationPage(WebDriver webdriver) {
    super(webdriver, By.className("airConfirmationPage"));
}