A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
- ADAPTER_PROPERTY_NAME - Field in BuildAdapterFactory
- The system property used to specify the BuildAdapter implementation (geb.build.adapter).
- add(Collection) - Method in Navigator
- AlertAndConfirmSupport - Class in geb.js
- AlertAndConfirmSupport(Closure) - Constructor in AlertAndConfirmSupport
- allElements() - Method in EmptyNavigator
- allElements() - Method in Navigator
- Returns all context elements.
- allElements() - Method in NonEmptyNavigator
- apply(WebElement, boolean) - Method in CssSelector
- asBoolean() - Method in Navigator
- asBoolean() - Method in TemplateDerivedPageContent
- at(Page) - Method in Browser
- Checks if the browser is at the current page by running the at checker for the given page after initializing it.
- attemptToLoadDriverClass(String) - Method in NameBasedDriverFactory
- attr(String) - Method in Navigator
- Returns the value of the given attribute of the first context element.
- AttributeAccessingMetaClass - Class in geb.navigator
- A delegating meta class implementation that intercepts field access using the .@ operator and sends it to getProperty("@$name")
- AttributeAccessingMetaClass(MetaClass) - Constructor in AttributeAccessingMetaClass
B
- BASE_URL_PROPERTY_NAME - Field in SystemPropertiesBuildAdapter
- BindingUpdater - Class in geb.binding
- BindingUpdater.InvocationForwarding(String, Object) - Constructor in BindingUpdater.InvocationForwarding
- BindingUpdater(Binding, Browser) - Constructor in BindingUpdater
- Browser - Class in geb
- The browser is the centre of Geb.
- Browser(Map, Configuration) - Constructor in Browser
- Creates a new browser instance backed by the given configuration, then applies props as property overrides on the browser.
- build(Configuration, Navigable, String, Class, Class) - Method in PageContentTemplateBuilder
- BuildAdapter - Interface in geb
- Used to supply default configuration type values to allow a build system (or anything else)
to configure the Geb runtime from the outside.
- BuildAdapterFactory - Class in geb.buildadapter
- Loads the BuildAdapter implementation class to be used.
C
- CachingDriverFactory - Class in geb.driver
- calculate(Class, Navigator, Map) - Method in ModuleBaseCalculator
- calculateTimeoutFrom(Date) - Method in Wait
- calculateTimeoutFromNow() - Method in Wait
- CallbackDriverFactory - Class in geb.driver
- CallbackDriverFactory(Closure) - Constructor in CallbackDriverFactory
- children(String) - Method in EmptyNavigator
- children(String) - Method in Navigator
- children(String) - Method in NonEmptyNavigator
- classes() - Method in EmptyNavigator
- classes() - Method in Navigator
- Returns the class names present on all elements.
- classes() - Method in NonEmptyNavigator
- cleanReportGroupDir() - Method in Browser
- Removes the directory returned by getReportGroupDir() from the filesystem if it exists.
- clear() - Method in CachingDriverFactory.Cache
- clear() - Method in CachingDriverFactory.SimpleCache
- clear() - Method in CachingDriverFactory.ThreadLocalCache
- clearBinding() - Method in BindingUpdater.BindingUpdatingPageChangeListener
- clearCache() - Method in CachingDriverFactory
- clearCacheAndQuitDriver() - Method in CachingDriverFactory
- clearCacheCache() - Method in CachingDriverFactory
- clearCookies() - Method in Browser
- Clears all cookies that the browser currently has.
- clearCookiesQuietly() - Method in Browser
- Clears all cookies that the browser currently has, suppressing any webdriver exceptions.
- click(List) - Method in EmptyNavigator
- click(List) - Method in Navigator
- click(List) - Method in NonEmptyNavigator
- click() - Method in TemplateDerivedPageContent
- close() - Method in Browser
- Closes the current driver window.
- closest(String) - Method in EmptyNavigator
- closest(String) - Method in Navigator
- Creates a new Navigator instance containing the first ancestor element of each of the current
context elements that match the selector.
- closest(String) - Method in NonEmptyNavigator
- compile(String) - Method in CssSelector
- Configuration - Class in geb
- Represents a particular configuration of Geb.
- Configuration(ConfigObject, Properties, BuildAdapter, ClassLoader) - Constructor in Configuration
- ConfigurationLoader - Class in geb
- Manages the process of creating Configuration objects, which control the runtime behaviour of Geb.
- ConfigurationLoader.UnableToLoadException - Class in geb
- ConfigurationLoader.UnableToLoadException(Class, String, Throwable) - Constructor in ConfigurationLoader.UnableToLoadException
- ConfigurationLoader(String, Properties, GroovyClassLoader) - Constructor in ConfigurationLoader
- Sets the loader environment.
- ConstantBaseNavigableSupport - Class in geb.content
- ConstantBaseNavigableSupport(def, Map, Navigator) - Constructor in ConstantBaseNavigableSupport
- contains(Pattern) - Method in TextMatchingSupport
- containsWord(Pattern) - Method in TextMatchingSupport
- convertToPath(Object[]) - Method in Page
- Converts the arguments to a path to be appended to this page's url.
- createBuildAdapter(GroovyClassLoader) - Method in ConfigurationLoader
- Uses the build adapter factory to load
a build adapter with the classLoader we were constructed with.
- createConf(ConfigObject, GroovyClassLoader) - Method in ConfigurationLoader
- Creates a new Configuration backed by rawConfig with the properties and classLoader
we were constructed with, and a build adapter.
- createDriver() - Method in Configuration
- createPage(Class) - Method in Browser
- Creates a new instance of the given page type and initialises it.
- createPageChangeListener(Binding, Browser) - Method in BindingUpdater
- createSelectFor(WebElement) - Method in SelectFactory
- createSlurper() - Method in ConfigurationLoader
- Creates a config slurper with environment we were constructed with (if any).
- CssSelector - Class in geb.navigator
- CssSelector(SelectorType, String) - Constructor in CssSelector
D
- DEFAULT_RETRY_INTERVAL - Field in Wait
- 100 milliseconds
- DEFAULT_TIMEOUT - Field in Wait
- 5 seconds
- DefaultDriverFactory - Class in geb.driver
- DefaultDriverFactory(ClassLoader) - Constructor in DefaultDriverFactory
- determineScreenshotDriver(Browser) - Method in ScreenshotAndPageSourceReporter
- doCall(Object[]) - Method in BindingUpdater.InvocationForwarding
- doGetConf(String) - Method in ConfigurationLoader
Creates a config backed by the classpath config script resource at the given path.
- doGetConfFromClass(String) - Method in ConfigurationLoader
Creates a config backed by the config class with a given name.
- download(String) - Method in DownloadSupport
- Calls download with the single option 'uri' as the given value.
- downloadBytes(String, Closure) - Method in DownloadSupport
- Opens a url connection via download(String) and returns the raw bytes.
- downloadContent(Closure) - Method in DownloadSupport
- Opens a url connection via download(String) and returns the content object.
- DownloadException - Class in geb.download
- DownloadException(HttpURLConnection, CharSequence, Throwable) - Constructor in DownloadException
- downloadStream(Closure) - Method in DownloadSupport
- Opens a url connection via download() and returns the response input stream.
- DownloadSupport - Class in geb.download
- Provides methods to directly download content into the running program using HttpURLConnection.
- DownloadSupport(Browser) - Constructor in DownloadSupport
- downloadText(Closure) - Method in DownloadSupport
- Opens a url connection via download() and returns the response text, if the content type was textual.
- drive(Browser, Closure) - Method in Browser
- Executes the closure with browser as its delegate.
- DRIVER_SEPARATOR - Field in NameBasedDriverFactory
- DriverCreationException - Class in geb.driver
- DriverCreationException(def, Throwable) - Constructor in DriverCreationException
- DriverFactory - Interface in geb.driver
- DriverRegistry - Class in geb.driver
E
- EmptyNavigator - Class in geb.navigator
- Implementation of an empty Navigator object - helps keep the other code simple.
- EmptyNavigator(Browser) - Constructor in EmptyNavigator
- EmptyNavigatorException - Class in geb.navigator
- EmptyNavigatorException() - Constructor in EmptyNavigatorException
- endsWith(Pattern) - Method in TextMatchingSupport
- eq(int) - Method in Navigator
- Gets the wrapped element at the given index.
- equals(def) - Method in Wait
- escape(String) - Method in CssSelector
- escapeFileName(String) - Method in ReporterSupport
- Replaces all non word chars with underscores to avoid using reserved characters in file paths
- exec(Object[]) - Method in JavascriptInterface
F
- FactoryNavigableSupport - Class in geb.content
- FactoryNavigableSupport(def, Map, Browser, Closure) - Constructor in FactoryNavigableSupport
- filter(Map, String) - Method in EmptyNavigator
- filter(Map, String) - Method in Navigator
- filter(Map, String) - Method in NonEmptyNavigator
- find(Map, String) - Method in EmptyNavigator
- find(Map, String) - Method in NavigableSupport
- find(Map, String) - Method in Navigator
- Selects elements by both CSS selector and attributes.
- find(Map, String) - Method in NonEmptyNavigator
- findAll(Closure) - Method in Navigator
- Overrides the standard Groovy findAll so that the object returned is a Navigator rather than a Collection.
- findByCssSelector(Collection, String) - Method in CssSelector
- first() - Method in EmptyNavigator
- first() - Method in Navigator
- Creates a new Navigator instance containing only the first context element (wrapped).
- first() - Method in NonEmptyNavigator
- firstElement() - Method in Navigator
- Returns the first context element (not wrapped).
- FORWARDED_BROWSER_METHODS - Field in BindingUpdater
- FrameSupport - Class in geb.frame
- FrameSupport(Browser) - Constructor in FrameSupport
G
- GebAssertionError - Class in geb.error
- GebAssertionError(def) - Constructor in GebAssertionError
- GebException - Class in geb.error
- GebException(Throwable) - Constructor in GebException
- get(Closure) - Method in CachingDriverFactory.Cache
- get(Closure) - Method in CachingDriverFactory.SimpleCache
- get(Closure) - Method in CachingDriverFactory.ThreadLocalCache
- get(Object[]) - Method in PageContentTemplate
- getAt(Collection) - Method in EmptyNavigator
- getAt(Collection) - Method in Navigator
- Gets the wrapped elements at the given indexes.
- getAt(Collection) - Method in NonEmptyNavigator
- getAttribute(Object, String) - Method in AttributeAccessingMetaClass
- getAttribute(String) - Method in EmptyNavigator
- getAttribute(String) - Method in Navigator
- Returns the value of the given attribute of the first context element.
- getAttribute(String) - Method in NonEmptyNavigator
- getAugmentedDriver(WebDriver) - Method in RemoteDriverOperations
- If the driver is a remote driver, a proxy will be returned that implements the feature
interfaces of the actual driver on the remote side.
- getAvailableWindows() - Method in Browser
- Retrieves all available windows
- getBaseUrl() - Method in Browser
- The url to resolve all relative urls against.
- getBaseUrl() - Method in BuildAdapter
- Provides the default baseUrl to use when no value has been configured.
- getBaseUrl() - Method in Configuration
- Returns the config value baseUrl, or BuildAdapter.getBaseUrl.
- getBaseUrl() - Method in SystemPropertiesBuildAdapter
- Returns the system property geb.build.baseUrl.
- getBrowser() - Method in Page
- The browser that the page is connected to.
- getBrowser() - Method in TemplateDerivedPageContent
- getBuildAdapter(ClassLoader) - Method in BuildAdapterFactory
- The build adapter to use.
- getClassLoaderToUse() - Method in SelectFactory
- getConf(Class, GroovyClassLoader) - Method in ConfigurationLoader
- Creates a config backed by a given class.
- getConfFromClass(String) - Method in ConfigurationLoader
Creates a config backed by the config class with a given name.
- getConfig() - Method in Browser
- Provides access to the configuration object assoicated with this browser.
- getCurrentWindow() - Method in Browser
- Retrieves current window
- getDefaultConf() - Method in ConfigurationLoader
- Result of this method is used as the default configuration when there is no configuration script or class.
- getDefaultConfigClassName() - Method in ConfigurationLoader
- This implementation returns "GebConfig"
- getDefaultConfigScriptResourcePath() - Method in ConfigurationLoader
- This implementation returns "GebConfig.groovy"
- getDefaultEnvironment() - Method in ConfigurationLoader
- This implementation returns System.properties["geb.env"]
- getDefaultProperties() - Method in ConfigurationLoader
- This implementation returns System.properties
- getDefaultSpecialClassLoader() - Method in ConfigurationLoader
- This implementation returns a new GroovyClassLoader which uses the
Thread.currentThread().contextClassLoader as the parent.
- getDefaultWait() - Method in Configuration
- getDefaultWaitRetryInterval() - Method in Configuration
- The default retryInterval value to use for waiting (i.e. if unspecified).
- getDefaultWaitTimeout() - Method in Configuration
- The default timeout value to use for waiting (i.e. if unspecified).
- getDriver() - Method in Browser
- The driver implementation used to automate the actual browser.
- getDriver() - Method in CachingDriverFactory
- getDriver() - Method in CallbackDriverFactory
- getDriver() - Method in Configuration
- getDriver() - Method in DriverFactory
- getDriver() - Method in NameBasedDriverFactory
- getDriver() - Method in Page
- The driver of the browser that the page is connected to.
- getDriver() - Method in TemplateDerivedPageContent
- getDriverConf() - Method in Configuration
- Returns the configuration value for the driver.
- getDriverFactory(def) - Method in Configuration
- getElement(int) - Method in EmptyNavigator
- getElement(int) - Method in Navigator
- Gets the element at the given index.
- getElement(int) - Method in NonEmptyNavigator
- getElements(Collection) - Method in EmptyNavigator
- getElements(Collection) - Method in Navigator
- Gets the elements at the given indexes.
- getElements(Collection) - Method in NonEmptyNavigator
- getErrorMessage() - Method in SelectFactory
- getFile(File, String, String) - Method in ReporterSupport
- Gets a file reference for the object with the given name and extension within the dir.
- getHeight() - Method in Navigator
- Returns the height of the first element the navigator matches or 0 if it matches nothing.
- getHeight() - Method in TemplateDerivedPageContent
- Returns the height of the first element the navigator matches or 0 if it matches nothing.
- getJquery() - Method in Navigator
- Returns an adapter for calling jQuery methods on the elements in this navigator.
- getJs() - Method in Browser
- Returns a newly created javascript interface connected to this browser.
- getJs() - Method in Module
- getJs() - Method in Page
- Provides access to the browser object's JavaScript interface.
- getKnownDriverClassNamesInPreferenceOrder() - Method in DriverRegistry
- getNavigator() - Method in ConstantBaseNavigableSupport
- getNavigator() - Method in FactoryNavigableSupport
- getNavigator() - Method in NavigableSupport
- getPage() - Method in Browser
- Provides access to the current page object.
- getPage() - Method in PageContent
- The page that this content is part of
- getPage() - Method in PageContentTemplate
- getPage() - Method in TemplateDerivedPageContent
- getPageSource(Browser) - Method in PageSourceReporter
- getPageSourceFileExtension(Browser) - Method in PageSourceReporter
- getPageUrl(String) - Method in Page
- Returns the url to this page, with path appended to it.
- getPotentialDriverClassNames() - Method in NameBasedDriverFactory
- getReporter() - Method in Configuration
- Returns the reporter implementation to use for taking snapshots of the browser's state.
- getReportFile(Browser, String, File) - Method in PageSourceReporter
- getReportGroupDir() - Method in Browser
- The directory that will be used for the method.
- getReportsDir() - Method in BuildAdapter
- Provides the default location to write report files.
- getReportsDir() - Method in Configuration
- Returns the config value reportsDir, or BuildAdapter.getReportsDir.
- getReportsDir() - Method in SystemPropertiesBuildAdapter
- Returns a File constructed with the system property geb.build.reportsDir, or null if not set.
- getTitle() - Method in Page
- Returns the title of the current browser window.
- getTo() - Method in PageContentTemplate
- Can return Class or List<Class>
- getWait(Double) - Method in Configuration
- getWait() - Method in PageContentTemplate
- Returns the Wait to use to wait for this content to materialise, or null if there should be no waiting.
- getWaitPreset(String) - Method in Configuration
- getWidth() - Method in Navigator
- Returns the width of the first element the navigator matches or 0 if it matches nothing.
- getWidth() - Method in TemplateDerivedPageContent
- Returns the width of the first element the navigator matches or 0 if it matches nothing.
- getX() - Method in Navigator
- Returns the x coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
- getX() - Method in TemplateDerivedPageContent
- Returns the x coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
- getY() - Method in Navigator
- Returns the y coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
- getY() - Method in TemplateDerivedPageContent
- Returns the y coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
- global(DriverFactory, boolean) - Method in CachingDriverFactory
- go(Map, String) - Method in Browser
- Sends the browser to the given url.
H
- has(String) - Method in Navigator
- Filters the set of elements represented by this Navigator to include only that have one or more descendants
that match the selector.
- hasClass(String) - Method in EmptyNavigator
- hasClass(String) - Method in Navigator
- Returns true if at least one of the context elements has the given class.
- hasClass(String) - Method in NonEmptyNavigator
- hashCode() - Method in Wait
- hasNext() - Method in NavigatorIterator
- head() - Method in EmptyNavigator
- head() - Method in Navigator
- Creates a new Navigator instance containing only the first context element (wrapped).
- head() - Method in NonEmptyNavigator
I
- iContains(Pattern) - Method in TextMatchingSupport
- iContainsWord(Pattern) - Method in TextMatchingSupport
- iEndsWith(Pattern) - Method in TextMatchingSupport
- init(PageContentTemplate, Navigator, Object[]) - Method in Module
- init(Browser) - Method in Page
- Initialises this page instance, connecting it to the browser.
- init(PageContentTemplate, Navigator, Object[]) - Method in SimplePageContent
- init(PageContentTemplate, Navigator, Object[]) - Method in TemplateDerivedPageContent
- Called by the template when created (i.e. is not public).
- initialize() - Method in BindingUpdater
- Populates the binding and starts the updater updating the binding as necessary.
- iNotContains(Pattern) - Method in TextMatchingSupport
- iNotContainsWord(Pattern) - Method in TextMatchingSupport
- iNotEndsWith(Pattern) - Method in TextMatchingSupport
- iNotStartsWith(Pattern) - Method in TextMatchingSupport
- InvalidPageContent - Class in geb.error
- InvalidPageContent(String, Throwable) - Constructor in InvalidPageContent
- is(String) - Method in EmptyNavigator
- is(String) - Method in Navigator
- Returns true if at least one of the context elements matches the tag.
- is(String) - Method in NonEmptyNavigator
- isAutoClearCookies() - Method in Configuration
- Whether or not to automatically clear the browser's cookies automatically.
- isCacheDriver() - Method in Configuration
- Should the created driver be cached if there is no existing cached driver, of if there
is a cached driver should it be used instead of creating a new one.
- isCacheDriverPerThread() - Method in Configuration
- The driver is to be cached, this setting controls whether or not the driver is cached per thread,
or per
The value is the config entry cacheDriverPerThread, which defaults to true.
- isCaching() - Method in PageContentTemplate
- isDisabled() - Method in Navigator
- Shorthand for
hasAttribute("disabled")
.
- isDisplayed() - Method in EmptyNavigator
- isDisplayed() - Method in Navigator
- Uses the isDisplayed() of RenderedWebElement to determine if the first element in the context is displayed.
- isDisplayed() - Method in NonEmptyNavigator
- isEmpty() - Method in EmptyNavigator
- isEmpty() - Method in Navigator
- Returns true when there are no context elements.
- isEmpty() - Method in NonEmptyNavigator
- isPresent() - Method in TemplateDerivedPageContent
- isQuitCachedDriverOnShutdown() - Method in Configuration
- If a cached driver is being used, should it be automatically quit when the JVM exits.
- isReadOnly() - Method in Navigator
- Shorthand for
hasAttribute("readonly")
.
- isRemoteDriverAvailable() - Method in RemoteDriverOperations
- isReportOnTestFailureOnly() - Method in Configuration
- isRequired() - Method in PageContentTemplate
- iStartsWith(Pattern) - Method in TextMatchingSupport
- iterator() - Method in Navigator
- iterator() - Method in SimplePageContent
J
- JavascriptInterface - Class in geb.js
- JavascriptInterface(Browser) - Constructor in JavascriptInterface
- JQueryAdapter - Class in geb.js
- JQueryAdapter(Navigator) - Constructor in JQueryAdapter
K
L
- last() - Method in EmptyNavigator
- last() - Method in Navigator
- Creates a new Navigator instance containing only the last context element (wrapped).
- last() - Method in NonEmptyNavigator
- lastElement() - Method in Navigator
- Returns the last context element (not wrapped).
- leftShift(def) - Method in EmptyNavigator
- leftShift(def) - Method in Navigator
- leftShift(def) - Method in NonEmptyNavigator
- loadRawConfig(ConfigSlurper, def) - Method in ConfigurationLoader
- loadSelectClass() - Method in SelectFactory
M
- matches(WebElement) - Method in CssSelector
- matches(String) - Method in NegatedTextMatcher
- matches(String) - Method in PatternTextMatcher
- matches(String) - Method in TextMatcher
- mergeWithDefaultParams(Map) - Method in PageContentTemplateBuilder
- methodMissing(String, def) - Method in Browser
- Delegates the method call directly to the current page object.
- methodMissing(String, def) - Method in EmptyNavigator
- methodMissing(String, def) - Method in JavascriptInterface
- methodMissing(String, def) - Method in JQueryAdapter
- methodMissing(String, def) - Method in ModuleBaseDefinitionDelegate
- methodMissing(String, def) - Method in NavigableSupport
- methodMissing(String, def) - Method in NonEmptyNavigator
- methodMissing(String, def) - Method in PageContentTemplateBuilder
- methodMissing(String, def) - Method in PageContentTemplateFactoryDelegate
- Module - Class in geb
- module(Map, Class, def) - Method in PageContentTemplateFactoryDelegate
- ModuleBaseCalculator - Class in geb.content
- ModuleBaseDefinitionDelegate - Class in geb.content
- ModuleBaseDefinitionDelegate(Navigator, Map) - Constructor in ModuleBaseDefinitionDelegate
- moduleList(Class, Navigator) - Method in PageContentTemplateFactoryDelegate
N
- NameBasedDriverFactory - Class in geb.driver
- NameBasedDriverFactory(ClassLoader, String) - Constructor in NameBasedDriverFactory
- Navigable - Interface in geb.content
- Marker interface to denote something that implements the dollar function for navigation.
- NavigableSupport - Class in geb.content
- Designed to be used with the ÒDelegateÓ transform to gain all the dollar methods etc.
- NavigableSupport(def, Map, Browser) - Constructor in NavigableSupport
- Navigator - Class in geb.navigator
- Navigator is a jQuery-style DOM traversal tool that wraps a set of WebDriver WebElements.
- Navigator(Browser) - Constructor in Navigator
- navigatorFor(WebElement[]) - Method in NonEmptyNavigator
- NavigatorIterator - Class in geb.navigator
- Iterator for looping over the context elements of a Navigator instance.
- NavigatorIterator(Navigator) - Constructor in NavigatorIterator
- NegatedTextMatcher - Class in geb.textmatching
- NegatedTextMatcher(TextMatcher) - Constructor in NegatedTextMatcher
- next(String) - Method in EmptyNavigator
- next(String) - Method in Navigator
- Creates a new Navigator instance containing the next sibling elements of the
current context elements, matching the selector.
- next() - Method in NavigatorIterator
- next(String) - Method in NonEmptyNavigator
- nextAll(String) - Method in EmptyNavigator
- nextAll(String) - Method in Navigator
- Creates a new Navigator instance containing all following sibling elements of the
current context elements that match the selector.
- nextAll(String) - Method in NonEmptyNavigator
- nextUntil(String) - Method in EmptyNavigator
- nextUntil(String) - Method in Navigator
- Creates a new Navigator instance containing all following sibling elements of the
current context elements up to, but not including, the first to match the selector.
- nextUntil(String) - Method in NonEmptyNavigator
- NO_PAGE_SOURCE_SUBSTITUTE - Field in PageSourceReporter
- NoBaseUrlDefinedException - Class in geb.error
- NoBaseUrlDefinedException() - Constructor in NoBaseUrlDefinedException
- NonEmptyNavigator - Class in geb.navigator
- NonEmptyNavigator(Browser, Collection) - Constructor in NonEmptyNavigator
- not(String) - Method in EmptyNavigator
- not(String) - Method in Navigator
- Returns a new Navigator instance containing all elements of the current Navigator that do not match the selector.
- not(String) - Method in NonEmptyNavigator
- notContains(Pattern) - Method in TextMatchingSupport
- notContainsWord(Pattern) - Method in TextMatchingSupport
- notEndsWith(Pattern) - Method in TextMatchingSupport
- notStartsWith(Pattern) - Method in TextMatchingSupport
O
- on(Browser) - Method in Navigator
- Factory method to create an initial Navigator instance.
- onLoad(Page) - Method in Page
- Lifecycle method called when the page is connected to the browser.
- onUnload(Page) - Method in Page
- Lifecycle method called when this page is being replaced as the browser's page instance.
P
- Page - Class in geb
- The Page type is the basis of the Page Object pattern in Geb.
- page(Page) - Method in Browser
- Sets this browser's page to be the given page after initializing it.
- PageChangeListener - Interface in geb
- Mechanism for 3rd parties to receive notification when a browser page instance changes
- pageChangeListener - Field in BindingUpdater
- PageChangeListenerAlreadyRegisteredException - Class in geb.error
- PageChangeListenerAlreadyRegisteredException(Browser, PageChangeListener) - Constructor in PageChangeListenerAlreadyRegisteredException
- PageContent - Interface in geb.content
- Content which is encapsulated in a page
- PageContentTemplate - Class in geb.content
- PageContentTemplate(Configuration, Navigable, String, Map, Closure) - Constructor in PageContentTemplate
- PageContentTemplateBuilder - Class in geb.content
- PageContentTemplateFactoryDelegate - Class in geb.content
- PageSourceReporter - Class in geb.report
- Writes the source content of the browser's current page as a html file.
- pageWillChange(Browser, Page, Page) - Method in BindingUpdater.BindingUpdatingPageChangeListener
- pageWillChange(Browser, Page, Page) - Method in PageChangeListener
- Called first when the listener is registered, with oldPage as null
and newPage as the current page at time of registration, then each time
the browser's page instance changes.
- parent(String) - Method in EmptyNavigator
- parent(String) - Method in Navigator
- Creates a new Navigator instance containing the direct parent elements of the current
context elements that match the selector.
- parent(String) - Method in NonEmptyNavigator
- parents(String) - Method in EmptyNavigator
- parents(String) - Method in Navigator
- Creates a new Navigator instance containing all the ancestor elements of the
current context elements that match the selector.
- parents(String) - Method in NonEmptyNavigator
- parentsUntil(String) - Method in EmptyNavigator
- parentsUntil(String) - Method in Navigator
- Creates a new Navigator instance containing all the ancestor elements of the
current context elements up to but not including the first that matches the selector.
- parentsUntil(String) - Method in NonEmptyNavigator
- PatternTextMatcher - Class in geb.textmatching
- PatternTextMatcher(CharSequence) - Constructor in PatternTextMatcher
- perThread(DriverFactory, boolean) - Method in CachingDriverFactory
- plus(Navigator) - Method in Navigator
- Merges the Navigator instance with the current instance to create a new
Navigator instance containing the context elements of both.
- prevAll(String) - Method in EmptyNavigator
- prevAll(String) - Method in Navigator
- Creates a new Navigator instance containing all preceding sibling elements of the
current context elements, matching the selector.
- prevAll(String) - Method in NonEmptyNavigator
- previous(String) - Method in EmptyNavigator
- previous(String) - Method in Navigator
- Creates a new Navigator instance containing the previous sibling elements of the
current context elements, matching the selector.
- previous(String) - Method in NonEmptyNavigator
- prevUntil(String) - Method in EmptyNavigator
- prevUntil(String) - Method in Navigator
- Creates a new Navigator instance containing all preceding sibling elements of the
current context elements up to, but not including the first matching the selector.
- prevUntil(String) - Method in NonEmptyNavigator
- propertyMissing(String, def) - Method in Browser
- Delegates the property assignment directly to the current page object.
- propertyMissing(String) - Method in EmptyNavigator
- propertyMissing(String) - Method in JavascriptInterface
- propertyMissing(String) - Method in ModuleBaseDefinitionDelegate
- propertyMissing(String, def) - Method in NavigableSupport
- propertyMissing(String, def) - Method in NonEmptyNavigator
- propertyMissing(String) - Method in PageContentTemplateFactoryDelegate
Q
- quit() - Method in Browser
- Quits the driver.
R
- readValue(ConfigObject, String, def) - Method in Configuration
- registerPageChangeListener(PageChangeListener) - Method in Browser
- Allows new page change listeners to be registered with this browser.
- RemoteDriverOperations - Class in geb.driver
- Wraps the operations on remote drivers to avoid a hard dependency on selenium-remote-client.
- RemoteDriverOperations(ClassLoader) - Constructor in RemoteDriverOperations
- remove() - Method in BindingUpdater
- Removes everything from the binding and stops updating it.
- remove(int) - Method in EmptyNavigator
- remove(int) - Method in Navigator
- Creates a new Navigator instance by removing the element at the given index
from the context.
- remove() - Method in NavigatorIterator
- remove(int) - Method in NonEmptyNavigator
- removePageChangeListener(PageChangeListener) - Method in Browser
- Removes the given page change listener.
- report(String) - Method in Browser
- Writes a snapshot of the browser's state to the current getReportGroupDir() using
the config's reporter.
- Reporter - Interface in geb.report
- A reporter can take a snapshot of the browser state, using a given name as the
base for whatever it produces.
- ReporterSupport - Class in geb.report
- Common support for reporter implemenations.
- reportGroup(Class) - Method in Browser
- Sets the report group to be the full name of the class, replacing "." with "/".
- REPORTS_DIR_PROPERTY_NAME - Field in SystemPropertiesBuildAdapter
- require() - Method in TemplateDerivedPageContent
- RequiredPageContentNotPresent - Class in geb.error
- RequiredPageContentNotPresent(def) - Constructor in RequiredPageContentNotPresent
- RequiredPageValueNotPresent - Class in geb.error
- RequiredPageValueNotPresent(def, Object[]) - Constructor in RequiredPageValueNotPresent
S
- saveScreenshotPngBytes(File, String, byte[]) - Method in ScreenshotAndPageSourceReporter
- ScreenshotAndPageSourceReporter - Class in geb.report
- Writes the source of the browser's current page as html and takes a PNG screenshot
if the underlying driver implementation supports it.
- SELECT_CLASS_NAME - Field in SelectFactory
- select(WebElement) - Method in CssSelector
- SelectFactory - Class in geb.navigator
- SelectorType - Enum in geb.navigator
- SelectorType(String) - Constructor in SelectorType
- setAutoClearCookies(boolean) - Method in Configuration
- Sets the auto clear cookies flag explicitly, overwriting any value from the config script.
- setBaseUrl(String) - Method in Browser
- Changes the base url used for resolving relative urls.
- setBaseUrl(def) - Method in Configuration
- setCacheDriver(boolean) - Method in Configuration
- Updates the cacheDriver config entry.
- setCacheDriverPerThread(boolean) - Method in Configuration
- Updates the cacheDriverPerThread config entry.
- setDriver(WebDriver) - Method in Browser
- Set (or change) the webdriver underneath this browser.
- setDriver(WebDriver) - Method in Configuration
- setDriverConf(def) - Method in Configuration
- Sets the driver configuration value.
- setQuitCacheDriverOnShutdown(boolean) - Method in Configuration
- Sets whether or not the cached driver should be quit when the JVM shuts down.
- setReporter(Reporter) - Method in Configuration
- Updates the reporter config entry.
- setReportOnTestFailureOnly(boolean) - Method in Configuration
- setReportsDir(File) - Method in Configuration
- siblings(String) - Method in EmptyNavigator
- siblings(String) - Method in Navigator
- siblings(String) - Method in NonEmptyNavigator
- SimplePageContent - Class in geb.content
- size() - Method in EmptyNavigator
- size() - Method in Navigator
- Returns the number of context elements.
- size() - Method in NonEmptyNavigator
- sleepForRetryInterval() - Method in Wait
- Blocks the caller for the retryInterval
- startsWith(Pattern) - Method in TextMatchingSupport
- SystemPropertiesBuildAdapter - Class in geb.buildadapter
- Loads values via system properties.
T
- tag() - Method in EmptyNavigator
- tag() - Method in Navigator
- Returns the tag name of the first context element.
- tag() - Method in NonEmptyNavigator
- tail() - Method in EmptyNavigator
- tail() - Method in Navigator
- Creates a new Navigator instance containing all but the first context element (wrapped).
- tail() - Method in NonEmptyNavigator
- TemplateDerivedPageContent - Class in geb.content
- text() - Method in EmptyNavigator
- text() - Method in Navigator
- Returns the text content of the first context element.
- text() - Method in NonEmptyNavigator
- TextMatcher - Interface in geb.textmatching
- TextMatchingSupport - Class in geb.textmatching
- to(Map, Class, Object[]) - Method in Browser
- Sends the browser to the given page type's url and sets the page to a new instance of the given type.
- to(Map, Object[]) - Method in Page
- Sends the browser to this page's url.
- toString() - Method in CssSelector
- toString() - Method in EmptyNavigator
- toString() - Method in NonEmptyNavigator
- toString() - Method in Page
- Returns the simple name of this class.
- toString() - Method in PageContentTemplate
- toString() - Method in TemplateDerivedPageContent
- toString() - Method in Wait
- toTestReportLabel(int, int, String, String) - Method in ReporterSupport
- translateFromShortNameIfRequired(String) - Method in DriverRegistry
- tryToLoadClass(String, ClassLoader) - Method in ConfigurationLoader
U
- UnableToLoadAnyDriversException - Class in geb.error
- UnableToLoadAnyDriversException(String[]) - Constructor in UnableToLoadAnyDriversException
- UndefinedPageContentException - Class in geb.error
- UndefinedPageContentException(def, def) - Constructor in UndefinedPageContentException
- UnexpectedPageException - Class in geb.error
- UnexpectedPageException(Class[]) - Constructor in UnexpectedPageException
- UnknownDriverShortNameException - Class in geb.error
- UnknownDriverShortNameException(String, String[]) - Constructor in UnknownDriverShortNameException
- UnresolvablePropertyException - Class in geb.error
- UnresolvablePropertyException(Navigable, String, String) - Constructor in UnresolvablePropertyException
V
- value(def) - Method in EmptyNavigator
- value(def) - Method in Navigator
- Sets the value of the form input elements to the given value.
- value(def) - Method in NonEmptyNavigator
- verifyAt() - Method in Page
- Executes this page's "at checker".
- verifyAtSafely() - Method in Page
- Executes this page's "at checker", suppressing any AssertionError that is thrown
and returning false.
- verifyNotEmpty() - Method in EmptyNavigator
- verifyNotEmpty() - Method in Navigator
- Throws an exception when the Navigator instance is empty.
- verifyNotEmpty() - Method in NonEmptyNavigator
W
- Wait - Class in geb.waiting
- Represents a particular configuration of waiting, but does not encompass what is to be waited on.
- Wait(Double, Double) - Constructor in Wait
- waitFor(Closure) - Method in Wait
- Invokes the given block every retryInterval seconds until it returns
a true value according to the Groovy Truth.
- waitFor(Double, Double, Closure) - Method in WaitingSupport
- Invokes block every interval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds.
- WaitingSupport - Class in geb.waiting
- A mixin style class that adds support for waiting for different things.
- WaitingSupport(Configuration) - Constructor in WaitingSupport
- WaitTimeoutException - Class in geb.waiting
- Thrown when a wait operation exceeds its timeout.
- WaitTimeoutException(Wait, Throwable) - Constructor in WaitTimeoutException
- withAlert(Closure) - Method in AlertAndConfirmSupport
- withConfirm(boolean, Closure) - Method in AlertAndConfirmSupport
- withFrame(SimplePageContent, Closure) - Method in FrameSupport
- withNewWindow(Closure, Closure) - Method in Browser
- Expects the first closure argument to open a new window and calls the second closure argument in the context
of the newly opened window.
- withNoAlert(Closure) - Method in AlertAndConfirmSupport
- withNoConfirm(Closure) - Method in AlertAndConfirmSupport
- withWindow(Closure, Closure) - Method in Browser
- Executes a closure within the context of all windows for which the specification
closure returns groovy truth.
- wrapDriverFactoryInCachingIfNeeded(DriverFactory) - Method in Configuration
- writePageSource(File, Browser) - Method in PageSourceReporter
- writeReport(Browser, String, File) - Method in PageSourceReporter
- writeReport(Browser, String, File) - Method in Reporter
- Takes a snapshot of the given browser's state, using the given name
as the base name for anything (e.g. file) that is produced.
- writeReport(Browser, String, File) - Method in ScreenshotAndPageSourceReporter
X
Y
Z
_
Groovy API Documentation for geb-core 0.6.2 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org