Groovy Documentation

geb.navigator
[Groovy] Class EmptyNavigator

java.lang.Object
  geb.navigator.AbstractNavigator
      geb.navigator.EmptyNavigator

class EmptyNavigator
extends AbstractNavigator

Implementation of an empty Navigator object - helps keep the other code simple.


Constructor Summary
EmptyNavigator(Browser browser)

 
Method Summary
Collection allElements()

Navigator children()

Navigator children(String selector)

List classes()

Navigator click()

Navigator click(Class pageClass)

Navigator click(List pageClasses)

Navigator closest(String selector)

Navigator filter(String selector)

Navigator filter(Map predicates)

Navigator find(String selector)

Navigator first()

Navigator getAt(int index)

Navigator getAt(Range range)

Navigator getAt(Collection indexes)

String getAttribute(String name)

WebElement getElement(int index)

List getElements(Range range)

List getElements(Collection indexes)

boolean hasClass(String valueToContain)

Navigator head()

boolean is(String tag)

boolean isDisplayed()

boolean isEmpty()

Navigator last()

Navigator leftShift(def value)

def methodMissing(String name, def arguments)

Navigator next()

Navigator next(String selector)

Navigator nextAll()

Navigator nextAll(String selector)

Navigator nextUntil(String selector)

Navigator not(String selector)

Navigator not(Map predicates, String selector)

Navigator not(Map predicates)

Navigator parent()

Navigator parent(String selector)

Navigator parents()

Navigator parents(String selector)

Navigator parentsUntil(String selector)

Navigator prevAll()

Navigator prevAll(String selector)

Navigator prevUntil(String selector)

Navigator previous()

Navigator previous(String selector)

def propertyMissing(String name)

Navigator remove(int index)

Navigator siblings()

Navigator siblings(String selector)

int size()

String tag()

Navigator tail()

String text()

String toString()

Navigator unique()

def value()

Navigator value(def value)

Navigator verifyNotEmpty()

 
Methods inherited from class AbstractNavigator
add, add, add, asBoolean, attr, eq, filter, find, find, find, find, find, find, findAll, firstElement, getElement, getElements, getElements, getHeight, getJquery, getWidth, getX, getY, has, has, has, isDisabled, isReadOnly, iterator, lastElement, plus
 

Constructor Detail

EmptyNavigator

EmptyNavigator(Browser browser)


 
Method Detail

allElements

@Override
Collection allElements()


children

@Override
Navigator children()


children

@Override
Navigator children(String selector)


classes

@Override
List classes()


click

@Override
Navigator click()


click

@Override
Navigator click(Class pageClass)


click

@Override
Navigator click(List pageClasses)


closest

@Override
Navigator closest(String selector)


filter

@Override
Navigator filter(String selector)


filter

@Override
Navigator filter(Map predicates)


find

@Override
Navigator find(String selector)


first

@Override
Navigator first()


getAt

@Override
Navigator getAt(int index)


getAt

@Override
Navigator getAt(Range range)


getAt

@Override
Navigator getAt(Collection indexes)


getAttribute

@Override
String getAttribute(String name)


getElement

@Override
WebElement getElement(int index)


getElements

@Override
List getElements(Range range)


getElements

@Override
List getElements(Collection indexes)


hasClass

@Override
boolean hasClass(String valueToContain)


head

@Override
Navigator head()


is

@Override
boolean is(String tag)


isDisplayed

@Override
boolean isDisplayed()


isEmpty

@Override
boolean isEmpty()


last

@Override
Navigator last()


leftShift

@Override
Navigator leftShift(def value)


methodMissing

def methodMissing(String name, def arguments)


next

@Override
Navigator next()


next

@Override
Navigator next(String selector)


nextAll

@Override
Navigator nextAll()


nextAll

@Override
Navigator nextAll(String selector)


nextUntil

@Override
Navigator nextUntil(String selector)


not

@Override
Navigator not(String selector)


not

Navigator not(Map predicates, String selector)


not

Navigator not(Map predicates)


parent

@Override
Navigator parent()


parent

@Override
Navigator parent(String selector)


parents

@Override
Navigator parents()


parents

@Override
Navigator parents(String selector)


parentsUntil

@Override
Navigator parentsUntil(String selector)


prevAll

@Override
Navigator prevAll()


prevAll

@Override
Navigator prevAll(String selector)


prevUntil

@Override
Navigator prevUntil(String selector)


previous

@Override
Navigator previous()


previous

@Override
Navigator previous(String selector)


propertyMissing

def propertyMissing(String name)


remove

@Override
Navigator remove(int index)


siblings

@Override
Navigator siblings()


siblings

@Override
Navigator siblings(String selector)


size

@Override
int size()


tag

@Override
String tag()


tail

@Override
Navigator tail()


text

@Override
String text()


toString

@Override
String toString()


unique

@Override
Navigator unique()


value

@Override
def value()


value

@Override
Navigator value(def value)


verifyNotEmpty

@Override
Navigator verifyNotEmpty()


 

Groovy API Documentation for Geb 0.9.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org