Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thoughtworks.selenium.condition
Class Presence

    java.lang.Object
      com.thoughtworks.selenium.condition.Condition
          com.thoughtworks.selenium.condition.Presence

    public class Presence

extends Condition

Checks whether a given locator exists on the page.

Constructor Summary
`Presence(java.lang.String locator)`

Method Summary
`boolean` | `isTrue(ConditionRunner.Context context)`

Methods inherited from class com.thoughtworks.selenium.condition.Condition
`getMessage, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Presence

    public Presence(java.lang.String locator)

Parameters:
  `locator` - the element which must be present

Method Detail

### isTrue

    public boolean isTrue(ConditionRunner.Context context)

  Specified by:
    `isTrue` in class `Condition`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009. All Rights Reserved.