com.atlassian.jira.webtest.webdriver.selenium
Class PageContainsCondition

java.lang.Object
  extended by com.atlassian.jira.webtest.webdriver.selenium.PageContainsCondition
All Implemented Interfaces:
com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean>, org.openqa.selenium.support.ui.ExpectedCondition<Boolean>

public class PageContainsCondition
extends Object
implements org.openqa.selenium.support.ui.ExpectedCondition<Boolean>

Check if HTML source contains the text.

Since:
v5.1

Constructor Summary
PageContainsCondition(String text)
           
 
Method Summary
 Boolean apply(org.openqa.selenium.WebDriver input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

PageContainsCondition

public PageContainsCondition(String text)
Method Detail

apply

public Boolean apply(@Nullable
                     org.openqa.selenium.WebDriver input)
Specified by:
apply in interface com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean>


Copyright © 2002-2012 Atlassian. All Rights Reserved.