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
- AbstractNavigator - Class in geb.navigator
- AbstractNavigator(Browser) - Constructor in AbstractNavigator
- AbstractNavigatorFactory - Class in geb.navigator.factory
- AbstractNavigatorFactory(Browser, InnerNavigatorFactory) - Constructor in AbstractNavigatorFactory
- ActionsDelegate - Class in geb.interaction
- ActionsDelegate(WebDriver) - Constructor in ActionsDelegate
- ADAPTER_PROPERTY_NAME - Field in BuildAdapterFactory
- The system property used to specify the BuildAdapter implementation (geb.build.adapter).
- add(Collection) - Method in AbstractNavigator
- add(Collection) - Method in Navigator
- addListener(ReportingListener) - Method in CompositeReporter
- addListener(ReportingListener) - Method in Reporter
- Registers an object to be notified when a report is taken.
- addListener(ReportingListener) - Method in ReporterSupport
- afterStory(Binding) - Method in GebPlugin
- AlertAndConfirmSupport - Class in geb.js
- AlertAndConfirmSupport(Closure, Configuration) - 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 AbstractNavigator
- asBoolean() - Method in TemplateDerivedPageContent
- asBoolean() - Method in UnknownWaitForEvaluationResult
- at(Class) - Method in Browser
- Checks if the browser is at the current page by running the at checker for this page type
- attemptToLoadDriverClass(String) - Method in NameBasedDriverFactory
- attr(String) - Method in AbstractNavigator
- 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
- AttributeAccessingMetaClassRegisteringTransformation - Class in geb.transform
- AttributeAccessingMetaClassRegistrar - Class in geb.transform
B
- Base64 - Class in geb.report
- A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance
with RFC 2045.
- BASE_URL_PROPERTY_NAME - Field in SystemPropertiesBuildAdapter
- beforeWhen(Binding) - Method in GebPlugin
- BindingUpdater - Class in geb.binding
- BindingUpdater.InvocationForwarding(String, Object) - Constructor in BindingUpdater.InvocationForwarding
- BindingUpdater(Binding, Browser) - Constructor in BindingUpdater
- BOOLEAN_ATTRIBUTES - Field in NonEmptyNavigator
- 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.
- BrowserBackedNavigatorFactory - Class in geb.navigator.factory
- BrowserBackedNavigatorFactory(Browser, InnerNavigatorFactory) - Constructor in BrowserBackedNavigatorFactory
- 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
- changeMetaClassImplementation(ClassNode) - Method in AttributeAccessingMetaClassRegisteringTransformation
- 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.
- cleanup() - Method in GebReportingSpec
- cleanup() - Method in GebSpec
- cleanupSpec() - Method in GebSpec
- clear() - Method in CachingDriverFactory.Cache
- clear() - Method in CachingDriverFactory.SimpleCache
- clear() - Method in CachingDriverFactory.ThreadLocalCache
- clearBinding() - Method in BindingUpdater.BindingUpdatingPageChangeListener
- clearBrowserCookies() - Method in GebTest
- 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
- ClosureInnerNavigatorFactory - Class in geb.navigator.factory
- ClosureInnerNavigatorFactory(Closure) - Constructor in ClosureInnerNavigatorFactory
- collectElements(Closure) - Method in NonEmptyNavigator
- collectUntil(Collection, String) - Method in NonEmptyNavigator
- compile(String) - Method in CssSelector
- CompositeReporter - Class in geb.report
- Delegates to one or more other reporters.
- CompositeReporter(Reporter) - Constructor in CompositeReporter
- 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.
- contains(Pattern) - Method in TextMatchingSupport
- containsWord(Pattern) - Method in TextMatchingSupport
- contextElements - Field in NonEmptyNavigator
- convert(String) - Method in ExceptionToPngConverter
- convertToPath(Object) - Method in Page
- Converts the arguments to a path to be appended to this page's url.
- createBrowser() - Method in GebSpec
- createBrowser() - Method in GebTest
- 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.
- createConf() - Method in GebSpec
- createConf() - Method in GebTest
- createDefaultReporter() - Method in Configuration
- createDriver() - Method in Configuration
- createFromNavigators(Iterable) - Method in AbstractNavigatorFactory
- createFromNavigators(Iterable) - Method in NavigatorFactory
- Create a navigator, backed by the given navigators.
- createFromWebElements(Iterable) - Method in AbstractNavigatorFactory
- createFromWebElements(Iterable) - Method in NavigatorFactory
- Create a navigator, backed by the given web elements.
- createNavigator(Browser, List) - Method in ClosureInnerNavigatorFactory
- createNavigator(Browser, List) - Method in DefaultInnerNavigatorFactory
- If {@code elements !
- createNavigator(Browser, List) - Method in InnerNavigatorFactory
- Create a Navigator instance for the given web elements.
- createNavigatorFactory() - Method in Browser
- Called to create the navigator factory, the first time it is requested.
- createNavigatorFactory(Browser) - Method in Configuration
- Creates the navigator factory to be used.
- 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.Type - Enum in geb.navigator
- CssSelector.Type(String) - Constructor in CssSelector.Type
- CssSelector(CssSelector.Type, String) - Constructor in CssSelector
D
- decode(String) - Method in Base64
- decodeFast(String) - Method in Base64
- 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
- DefaultInnerNavigatorFactory - Class in geb.navigator.factory
- Default implementation of InnerNavigatorFactory.
- determineScreenshotDriver(Browser) - Method in ScreenshotReporter
- doCall(Object) - Method in BindingUpdater.InvocationForwarding
- doGetConf(String) - Method in ConfigurationLoader
- doGetConfFromClass(String) - Method in ConfigurationLoader
- 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(Object, 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
- encodeToByte(byte[], boolean) - Method in Base64
- Encodes a raw byte array into a BASE64
byte[] representation i accordance with RFC 2045.
- encodeToChar(byte[], boolean) - Method in Base64
- Encodes a raw byte array into a BASE64
char[] representation i accordance with RFC 2045.
- encodeToString(byte[], boolean) - Method in Base64
- Decodes a BASE64 encoded
String.
- END_OF_METHOD_REPORT_LABEL - Field in GebReportingTest
- endsWith(Pattern) - Method in TextMatchingSupport
- eq(int) - Method in AbstractNavigator
- eq(int) - Method in Navigator
- Gets the wrapped element at the given index.
- equals(Object) - Method in SimplePageContent
- 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
- ExceptionToPngConverter - Class in geb.report
- ExceptionToPngConverter(Throwable) - Constructor in ExceptionToPngConverter
- exec(Object) - Method in JavascriptInterface
- extendsFromAttributeAccessEnabledClass(ClassNode) - Method in AttributeAccessingMetaClassRegisteringTransformation
F
- filter(Map, String) - Method in AbstractNavigator
- filter(Map) - Method in EmptyNavigator
- filter(Map, String) - Method in Navigator
- filter(Map) - Method in NonEmptyNavigator
- find(Map, String) - Method in AbstractNavigator
- find(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 AbstractNavigator
- 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 AbstractNavigator
- firstElement() - Method in Navigator
- Returns the first context element (not wrapped).
- firstElementInContext(Closure) - Method in NonEmptyNavigator
- FORWARDED_BROWSER_METHODS - Field in BindingUpdater
- FrameSupport - Class in geb.frame
- FrameSupport(Browser) - Constructor in FrameSupport
G
- GebAssertionError - Class in geb.error
- GebAssertionError(Object) - Constructor in GebAssertionError
- GebException - Class in geb.error
- GebException(Throwable) - Constructor in GebException
- GebPlugin - Class in geb.easyb
- GebReportingSpec - Class in geb.spock
- GebReportingTest - Class in geb.testng
- GebSpec - Class in geb.spock
- GebTest - Class in geb.junit3
- 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
- getBase() - Method in BrowserBackedNavigatorFactory
- getBase() - Method in NavigatorFactory
- The base for all content lookups from this factory.
- 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.
- getBooleanAttribute(WebElement, String) - Method in NonEmptyNavigator
- This works around an inconsistency in some of the WebDriver implementations.
- getBrowser() - Method in AbstractNavigatorFactory
- getBrowser() - Method in GebSpec
- getBrowser() - Method in GebTest
- 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
- getConfig() - Method in Browser
- Provides access to the configuration object assoicated with this browser.
- getConnection() - Method in DownloadException
- getContainer() - Method in UnresolvablePropertyException
- getContent() - Method in RequiredPageContentNotPresent
- 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 AbstractNavigator
- Gets the element at the given index.
- getElement(int) - Method in EmptyNavigator
- getElement(int) - Method in NonEmptyNavigator
- getElements(Collection) - Method in AbstractNavigator
- Gets the elements at the given indexes.
- getElements(Collection) - Method in EmptyNavigator
- 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 AbstractNavigator
- 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.
- getInnerNavigatorFactory() - Method in Configuration
- Returns the inner navigatory factory, that turns WebElements into Navigators.
- getInputValue(WebElement) - Method in NonEmptyNavigator
- getInputValues(Collection) - Method in NonEmptyNavigator
- getJquery() - Method in AbstractNavigator
- 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
- getLastEvaluationValue() - Method in WaitTimeoutException
- getName() - Method in GebPlugin
- getName() - Method in UnresolvablePropertyException
- getNavigator() - Method in NavigableSupport
- getNavigatorFactory() - Method in Browser
- Returns the factory that creates navigator instances for this browser.
- 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
- Here to allow smarter calculation of the extension if necessary
- 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(ReportState) - Method in PageSourceReporter
- getReportGroupDir() - Method in Browser
- The directory that will be used for the method.
- getReportingListener() - Method in Configuration
- 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.
- getTemplate() - Method in RequiredPageValueNotPresent
- getTemplateParams() - Method in TemplateDerivedPageContent
- getTitle() - Method in Page
- Returns the title of the current browser window.
- getValue(WebElement) - Method in NonEmptyNavigator
- getWait(Double) - Method in Configuration
- getWaitForParam(def) - Method in Configuration
- getWaitPreset(String) - Method in Configuration
- getWidth() - Method in AbstractNavigator
- 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 AbstractNavigator
- 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 AbstractNavigator
- 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 AbstractNavigator
- 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 AbstractNavigator.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.
- initReportGroupDir() - Method in GebReportingTest
- InnerNavigatorFactory - Interface in geb.navigator.factory
- Creates Navigator instances from zero or more WebElement instances.
- iNotContains(Pattern) - Method in TextMatchingSupport
- iNotContainsWord(Pattern) - Method in TextMatchingSupport
- iNotEndsWith(Pattern) - Method in TextMatchingSupport
- iNotStartsWith(Pattern) - Method in TextMatchingSupport
- interact(Closure) - Method in InteractionsSupport
- InteractionsSupport - Class in geb.interaction
- InteractionsSupport(Browser) - Constructor in InteractionsSupport
- InvalidGebConfiguration - Class in geb.error
- InvalidGebConfiguration(Object, Throwable) - Constructor in InvalidGebConfiguration
- InvalidPageContent - Class in geb.error
- InvalidPageContent(Object) - 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
- isAt(Class) - Method in Browser
- Checks if the browser is at the given page by running the at checker for this page type, suppressing assertion errors.
- 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
- isDisabled() - Method in AbstractNavigator
- 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
- isPng(byte[]) - Method in PngUtils
- 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 AbstractNavigator
- isReadOnly() - Method in Navigator
- Shorthand for
hasAttribute("readonly").
- isRemoteDriverAvailable() - Method in RemoteDriverOperations
- isReportOnTestFailureOnly() - Method in Configuration
- iStartsWith(Pattern) - Method in TextMatchingSupport
- iterator() - Method in AbstractNavigator
- 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
- labelFor(WebElement) - Method in NonEmptyNavigator
- 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 AbstractNavigator
- 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(Collection, TextMatcher) - Method in NonEmptyNavigator
- matches(String) - Method in PatternTextMatcher
- matches(String) - Method in TextMatcher
- methodMissing(String, def) - Method in ActionsDelegate
- 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 GebSpec
- methodMissing(String, def) - Method in GebTest
- 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, def) - 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, NavigatorFactory) - Constructor in NavigableSupport
- Navigator - Interface in geb.navigator
- Navigator is a jQuery-style DOM traversal tool that wraps a set of WebDriver WebElements.
- NavigatorBackedNavigatorFactory - Class in geb.navigator.factory
- NavigatorBackedNavigatorFactory(Navigator, InnerNavigatorFactory) - Constructor in NavigatorBackedNavigatorFactory
- NavigatorFactory - Interface in geb.navigator.factory
- The object that produces Navigator objects.
- navigatorFor(Collection) - Method in NonEmptyNavigator
- NegatedTextMatcher - Class in geb.textmatching
- NegatedTextMatcher(TextMatcher) - Constructor in NegatedTextMatcher
- next() - Method in AbstractNavigator.NavigatorIterator
- 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(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
- NoNewWindowException - Class in geb.error
- NoNewWindowException(String) - Constructor in NoNewWindowException
- 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
- notifyListeners(ReportState, List) - Method in ReporterSupport
- notStartsWith(Pattern) - Method in TextMatchingSupport
O
- onLoad(Page) - Method in Page
- Lifecycle method called when the page is connected to the browser.
- onReport(Reporter, ReportState, List) - Method in ReportingListener
- Called when a report is taken.
- onUnload(Page) - Method in Page
- Lifecycle method called when this page is being replaced as the browser's page instance.
- optimizeSelector(String, Map) - Method in NonEmptyNavigator
- Optimizes the selector if the predicates contains `class` or `id` keys that map to strings.
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
- PageContentTemplateFactoryDelegate(PageContentTemplate, Object) - Constructor in PageContentTemplateFactoryDelegate
- PageContentTemplateParams - Class in geb.content
- PageContentTemplateParams(PageContentTemplate, Map) - Constructor in PageContentTemplateParams
- 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
- perform() - Method in ActionsDelegate
- perThread(DriverFactory, boolean) - Method in CachingDriverFactory
- plus(Navigator) - Method in AbstractNavigator
- 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, def) - Method in GebSpec
- propertyMissing(String, def) - Method in GebTest
- 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
- registerFor(Class) - Method in AttributeAccessingMetaClassRegistrar
- registerPageChangeListener(PageChangeListener) - Method in Browser
- Allows new page change listeners to be registered with this browser.
- relativeTo(Navigator) - Method in AbstractNavigatorFactory
- relativeTo(Navigator) - Method in NavigatorFactory
- Create a new factory, relative to the given navigator.
- 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 AbstractNavigator.NavigatorIterator
- 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(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.
- report(String) - Method in GebReportingSpec
- report(String) - Method in GebReportingTest
- 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 "/".
- reportingAfter(ITestResult) - Method in GebReportingTest
- ReportingListener - Interface in geb.report
- Gets notified whenever a report is taken.
- REPORTS_DIR_PROPERTY_NAME - Field in SystemPropertiesBuildAdapter
- ReportState - Class in geb.report
- ReportState(Browser, String, File) - Constructor in ReportState
- require() - Method in TemplateDerivedPageContent
- RequiredPageContentNotPresent - Class in geb.error
- RequiredPageContentNotPresent(Object) - Constructor in RequiredPageContentNotPresent
- RequiredPageValueNotPresent - Class in geb.error
- RequiredPageValueNotPresent(PageContentTemplate, Object) - Constructor in RequiredPageValueNotPresent
- resetBrowser() - Method in GebSpec
- resetBrowser() - Method in GebTest
S
- saveScreenshotPngBytes(File, String, byte[]) - Method in ScreenshotReporter
- ScreenshotReporter - 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
- 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.
- setDefaultWaitRetryInterval(Double) - Method in Configuration
- Updates the waiting.retryInterval config entry.
- setDefaultWaitTimeout(Double) - Method in Configuration
- Updates the waiting.timeout 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.
- setInnerNavigatorFactory(InnerNavigatorFactory) - Method in Configuration
- Sets the inner navigator factory.
- setInputValue(WebElement, def) - Method in NonEmptyNavigator
- setInputValues(Collection, def) - Method in NonEmptyNavigator
- 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.
- setReportingListener(ReportingListener) - Method in Configuration
- setReportOnTestFailureOnly(boolean) - Method in Configuration
- setReportsDir(File) - Method in Configuration
- setSelectValue(WebElement, def) - Method in NonEmptyNavigator
- setup() - Method in GebReportingSpec
- setUp() - Method in GebReportingTest
- setupReporting(Method) - Method in GebReportingTest
- setupSpec() - Method in GebReportingSpec
- setWaitPreset(String, Double, Double) - Method in Configuration
- Updates a waiting.preset config entry for a given preset name.
- 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
- tearDown() - Method in GebReportingTest
- tearDown() - Method in GebTest
- 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, sets the page to a new instance of the given type and verifies the at checker of that page.
- 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 UnknownWaitForEvaluationResult
- 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(Object, Object) - Constructor in UndefinedPageContentException
- UnexpectedPageException - Class in geb.error
- UnexpectedPageException(Class) - Constructor in UnexpectedPageException
- unique() - Method in EmptyNavigator
- unique() - Method in Navigator
- Creates a new Navigator instance containing all elements of this instance with duplicate elements removed
- unique() - Method in NonEmptyNavigator
- UnknownDriverShortNameException - Class in geb.error
- UnknownDriverShortNameException(String, String) - Constructor in UnknownDriverShortNameException
- UnknownWaitForEvaluationResult - Class in geb.waiting
- A wrapper that is always falsey when evaluated and holds a Throwable that was returned from last closure evaluation in a waitFor() call.
- UnknownWaitForEvaluationResult(Throwable) - Constructor in UnknownWaitForEvaluationResult
- 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
- via(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.
- visit(ASTNode, SourceUnit) - Method in AttributeAccessingMetaClassRegisteringTransformation
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(Map, Double, Double, Closure) - Method in WaitingSupport
- 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, Object) - Constructor in WaitTimeoutException
- withAlert(Map, Closure) - Method in AlertAndConfirmSupport
- withConfirm(Map, 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
- writeGebReport() - Method in GebReportingTest
- writePageSource(File, Browser) - Method in PageSourceReporter
- writeReport(ReportState) - Method in CompositeReporter
- writeReport(ReportState) - Method in PageSourceReporter
- writeReport(ReportState) - 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(ReportState) - Method in ScreenshotReporter
X
Y
Z
_
- _gebReportingTestTestName - Field in GebReportingTest
Groovy API Documentation for Geb 0.9.0-RC-3 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org