- CachingDriverFactory - Class in geb.driver
- calculate(Class, NavigatorFactory, Map) - Method in ModuleBaseCalculator
-
- CallbackDriverFactory - Class in geb.driver
- CallbackDriverFactory(Closure) - Constructor in CallbackDriverFactory
-
- checkIfAtAnUnexpectedPage(Class<? extends Page>) - Method in Browser
-
Check if at one of the pages configured to be unexpected.
- children(Map<String, Object>, String) - Method in EmptyNavigator
-
- children(Map<String, Object>, String) - Method in Navigator
-
Creates a new Navigator instance containing all the child elements of the
current context elements that match the selector and given attributes.
- children(Map<String, Object>, 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
-
- 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<Class<? extends Page>>, Wait) - Method in EmptyNavigator
-
- click(List<Class<? extends Page>>, Wait) - Method in Navigator
-
- click(List<Class<? extends Page>>, Wait) - Method in NonEmptyNavigator
-
- click() - Method in TemplateDerivedPageContent
-
- close() - Method in Browser
-
Closes the current driver window.
- closest(Map<String, Object>, String) - Method in EmptyNavigator
-
- closest(Map<String, Object>, 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 and given attributes.
- closest(Map<String, Object>, String) - Method in NonEmptyNavigator
-
- ClosureInnerNavigatorFactory - Class in geb.navigator.factory
- ClosureInnerNavigatorFactory(Closure<Navigator>) - Constructor in ClosureInnerNavigatorFactory
-
- CloudDriverFactory - Class in geb.driver
- collectChildren(Closure) - Method in NonEmptyNavigator
-
- collectElements(Closure) - Method in NonEmptyNavigator
-
- collectFollowingSiblings(Closure) - Method in NonEmptyNavigator
-
- collectParents(Closure) - Method in NonEmptyNavigator
-
- collectPreviousSiblings(Closure) - Method in NonEmptyNavigator
-
- collectRelativeElements(String, Closure) - Method in NonEmptyNavigator
-
- collectSiblings(Closure) - Method in NonEmptyNavigator
-
- collectUntil(Collection<WebElement>, Map<String, Object>, 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(String, Properties, GroovyClassLoader) - Constructor in ConfigurationLoader
-
Sets the loader environment.
- configureCapabilities(DesiredCapabilities) - Method in BrowserStackDriverFactory
-
- configureCapabilities(DesiredCapabilities) - Method in CloudDriverFactory
-
- 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.
- create(String, String, String, String, Map<String, Object>) - Method in BrowserStackDriverFactory
-
- create(String, String, String, Map<String, Object>) - Method in CloudDriverFactory
-
- createBase() - Method in BrowserBackedNavigatorFactory
-
- createBuildAdapter(GroovyClassLoader) - Method in ConfigurationLoader
-
- createConf(ConfigObject, GroovyClassLoader) - Method in ConfigurationLoader
-
Creates a new
Configuration backed by
rawConfig
with the
properties
we were constructed with, the
classLoader
passed in and a
build adapter.
- createDefaultReporter() - Method in Configuration
-
- createDriver() - Method in Configuration
-
- createFromNavigators(Iterable<Navigator>) - Method in AbstractNavigatorFactory
-
- createFromNavigators(Iterable<Navigator>) - Method in NavigatorFactory
-
Create a navigator, backed by the given navigators.
- createFromWebElements(Iterable<WebElement>) - Method in AbstractNavigatorFactory
-
- createFromWebElements(Iterable<WebElement>) - Method in NavigatorFactory
-
Create a navigator, backed by the given web elements.
- createNavigator(Browser, List<WebElement>) - Method in ClosureInnerNavigatorFactory
-
- createNavigator(Browser, List<WebElement>) - Method in DefaultInnerNavigatorFactory
-
If {@code elements !
- createNavigator(Browser, List<WebElement>) - 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<T>) - 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).
- css(String) - Method in AbstractNavigator
-
- css(String) - Method in Navigator
-
Gets the value of a given CSS property.
- 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
-
- GebAssertionError - Class in geb.error
- GebAssertionError(Object) - Constructor in GebAssertionError
-
- 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
-
- getAtCheckWaiting() - Method in Configuration
-
- 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.
- getBaseNavigatorWaiting() - Method in Configuration
-
- getBaseTagName() - Method in BrowserBackedNavigatorFactory
-
- 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
-
- 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 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(String, Object) - Method in PageContentSupport
-
- getContent() - Method in RequiredPageContentNotPresent
-
- getCurrentUrl() - Method in Browser
-
Retrieves the current url
- 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).
- getDownloadConfig() - Method in Configuration
-
Returns the default configuration closure to be applied before the user-
supplied config closure when using the download support.
- 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<WebElement>) - 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
-
- getName() - Method in UnresolvablePropertyException
-
- 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 PageContentTemplate
-
- getPage() - Method in TemplateDerivedPageContent
-
The page that this content is part of
- 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
-
- getRemoteWebDriverClass() - Method in RemoteDriverOperations
-
- 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
-
- 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.
- getUnexpectedPages() - Method in Configuration
-
- 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.
- iContains(Pattern) - Method in TextMatchingSupport
-
- iContainsWord(Pattern) - Method in TextMatchingSupport
-
- iEndsWith(Pattern) - Method in TextMatchingSupport
-
- init(PageContentTemplate, NavigatorFactory, 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.
- 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<? extends Page>, boolean) - 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 EmptyNavigator
-
- isDisabled() - Method in Navigator
-
Shorthand for hasAttribute("disabled")
.
- isDisabled() - Method in NonEmptyNavigator
-
- 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
-
- isEditable() - Method in EmptyNavigator
-
- isEditable() - Method in Navigator
-
Shorthand for !
- isEditable() - Method in NonEmptyNavigator
-
- isEmpty() - Method in EmptyNavigator
-
- isEmpty() - Method in Navigator
-
Returns true when there are no context elements.
- isEmpty() - Method in NonEmptyNavigator
-
- isEnabled() - Method in EmptyNavigator
-
- isEnabled() - Method in Navigator
-
Shorthand for !
- isEnabled() - 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 EmptyNavigator
-
- isReadOnly() - Method in Navigator
-
Shorthand for hasAttribute("readonly")
.
- isReadOnly() - Method in NonEmptyNavigator
-
- isRemoteDriverAvailable() - Method in RemoteDriverOperations
-
- isReportOnTestFailureOnly() - Method in Configuration
-
- iStartsWith(Pattern) - Method in TextMatchingSupport
-
- iterator() - Method in AbstractNavigator
-
- iterator() - Method in Navigator
-
- 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
-
- PageContentContainer - Interface in geb.content
Marker interface for anything that has content, i.e. pages and modules.
- PageContentSupport - Class in geb.content
- PageContentSupport(PageContentContainer, Map<String, PageContentTemplate>, NavigatorFactory, Navigator) - Constructor in PageContentSupport
-
- PageContentTemplate - Class in geb.content
- PageContentTemplate(Configuration, PageContentContainer, String, Map<String, ?>, Closure, NavigatorFactory) - 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<String, ?>) - 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 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(Map<String, Object>, String) - Method in EmptyNavigator
-
- parent(Map<String, Object>, String) - Method in Navigator
-
Creates a new Navigator instance containing the direct parent elements of the current
context elements that match the selector and given attributes.
- parent(Map<String, Object>, String) - Method in NonEmptyNavigator
-
- parents(Map<String, Object>, String) - Method in EmptyNavigator
-
- parents(Map<String, Object>, String) - Method in Navigator
-
Creates a new Navigator instance containing all the ancestor elements of the
current context elements that match the given attributes.
- parents(Map<String, Object>, String) - Method in NonEmptyNavigator
-
- parentsUntil(Map<String, Object>, String) - Method in EmptyNavigator
-
- parentsUntil(Map<String, Object>, 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 and given attributes.
- parentsUntil(Map<String, Object>, 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(Map<String, Object>, String) - Method in EmptyNavigator
-
- prevAll(Map<String, Object>, String) - Method in Navigator
-
Creates a new Navigator instance containing all preceding sibling elements of the
current context elements, matching the selector and given attributes.
- prevAll(Map<String, Object>, String) - Method in NonEmptyNavigator
-
- previous(Map<String, Object>, String) - Method in EmptyNavigator
-
- previous(Map<String, Object>, String) - Method in Navigator
-
Creates a new Navigator instance containing the previous sibling elements of the
current context elements, matching the selector and given attributes.
- previous(Map<String, Object>, String) - Method in NonEmptyNavigator
-
- prevUntil(Map<String, Object>, String) - Method in EmptyNavigator
-
- prevUntil(Map<String, Object>, 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 and given attributes.
- prevUntil(Map<String, Object>, 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, def) - Method in Module
-
- propertyMissing(String) - Method in ModuleBaseDefinitionDelegate
-
- propertyMissing(String, def) - Method in NonEmptyNavigator
-
- propertyMissing(String, def) - Method in PageContentSupport
-
- propertyMissing(String) - Method in PageContentTemplateBuilder
-
- propertyMissing(String) - Method in PageContentTemplateFactoryDelegate
-
- propertyMissing(String, def) - Method in TemplateDerivedPageContent
-