- cache - Property in PageContentTemplateParams
-
The value of the 'cache' option, as a boolean according to the Groovy Truth.
- cache - Property in TemplateOptionsConfiguration
-
- CachingDriverFactory - Class in geb.driver
- calculate(geb.Browser, geb.Module, geb.navigator.factory.NavigatorFactory, org.openqa.selenium.WebDriver$TargetLocator, java.util.Map) - Method in ModuleBaseCalculator
-
- CallbackDriverFactory - Class in geb.driver
- CallbackDriverFactory(groovy.lang.Closure) - Constructor in CallbackDriverFactory
-
- changeMetaClassImplementation(org.codehaus.groovy.ast.ClassNode) - Method in AttributeAccessingMetaClassRegisteringTransformation
-
- check() - Method in Checkbox
-
- Checkbox - Class in geb.module
- Checkbox() - Constructor in Checkbox
-
- checkIfAtAnUnexpectedPage(geb.Page) - Method in Browser
-
Check if at one of the pages configured to be unexpected.
- children(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- children(Map<String, Object>, java.lang.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.
- classes() - Method in DefaultNavigator
-
- classes() - Method in Navigator
-
Returns an alphabetically sorted list of class names present on the sole context element or an empty list for empty Navigators.
- classLoader - Property in Configuration
-
- classLoader - Property in NameBasedDriverFactory
-
- classLoader - Property in RemoteDriverOperations
-
- cleanReportGroupDir() - Method in Browser
-
- clear() - Method in LocalStorage
-
- clear() - Method in SessionStorage
-
- clear() - Method in WebStorage
-
Removes all data from the store.
- clearCache() - Method in CachingDriverFactory
-
- clearCacheAndQuitDriver() - Method in CachingDriverFactory
-
- clearCacheCache() - Method in CachingDriverFactory
-
- clearCookies() - Method in Browser
-
Clears all cookies for the current domain that the browser has.
- clearCookiesQuietly() - Method in Browser
-
Clears all cookies that the browser currently has, suppressing any webdriver exceptions.
- clearWebStorage() - Method in Browser
-
Clears web storage, that is both local and session storage for the current domain.
- clearWebStorageQuietly() - Method in Browser
-
Clears web storage, that is both local and session storage for the current domain, suppressing any
webdriver exceptions.
- click(java.util.List, geb.waiting.Wait) - Method in DefaultNavigator
-
- click() - Method in InteractDelegate
-
- click(java.util.List, geb.waiting.Wait) - Method in Navigator
-
Clicks on the sole context element, finds the first page from the list for which the at checker is defined and sets it as the current page.
- click() - Method in TemplateDerivedPageContent
-
- clickAndHold() - Method in InteractDelegate
-
- close() - Method in Browser
-
Closes the current driver window.
- CLOSE_OPTION - Field in Browser
-
- close - Property in WithNewWindowConfiguration
-
- close - Property in WithWindowConfiguration
-
- closest(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- closest(Map<String, Object>, java.lang.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.
- ClosureInnerNavigatorFactory - Class in geb.navigator.factory
- ClosureInnerNavigatorFactory(Closure<Navigator>) - Constructor in ClosureInnerNavigatorFactory
-
- CloudDriverFactory - Class in geb.driver
- CloudDriverFactory() - Constructor in CloudDriverFactory
-
- collectAncestors(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectChildren(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectElements(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectFollowingSiblings(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectParents(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectPreviousSiblings(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectRelativeElements(java.lang.String, groovy.lang.Closure) - Method in DefaultNavigator
-
- collectSiblings(groovy.lang.Closure) - Method in DefaultNavigator
-
- collectUntil(Collection<WebElement>, Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- ColorInput - Class in geb.module
- ColorInput() - Constructor in ColorInput
-
- compensateForSpock(org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in ImplicitAssertionsTransformationVisitor
-
- CompositePageEventListener - Class in geb
- CompositePageEventListener(geb.PageEventListener) - Constructor in CompositePageEventListener
-
- CompositeReporter - Class in geb.report
Delegates to one or more other reporters.
- CompositeReporter(geb.report.Reporter) - Constructor in CompositeReporter
-
- ConfigurableByNameImplicitlyAssertedMethodCallMatcher - Class in geb.transform.implicitassertions
- ConfigurableByNameImplicitlyAssertedMethodCallMatcher(java.lang.String) - Constructor in ConfigurableByNameImplicitlyAssertedMethodCallMatcher
-
- Configuration - Class in geb
Represents a particular configuration of Geb.
- Configuration(groovy.util.ConfigObject, java.util.Properties, geb.BuildAdapter, java.lang.ClassLoader) - Constructor in Configuration
-
- ConfigurationLoader - Class in geb
Manages the process of creating
Configuration objects, which control the runtime behaviour of Geb.
- ConfigurationLoader(java.lang.String, java.util.Properties, groovy.lang.GroovyClassLoader) - Constructor in ConfigurationLoader
-
Sets the loader environment.
- configureCapabilities(java.lang.String, java.lang.String, org.openqa.selenium.remote.DesiredCapabilities) - Method in BrowserStackDriverFactory
-
- configureCapabilities(java.lang.String, java.lang.String, org.openqa.selenium.remote.DesiredCapabilities) - Method in CloudDriverFactory
-
- configureCapabilities(java.lang.String, java.lang.String, org.openqa.selenium.remote.DesiredCapabilities) - Method in LambdaTestDriverFactory
-
- configureCapabilities(java.lang.String, java.lang.String, org.openqa.selenium.remote.DesiredCapabilities) - Method in SauceLabsDriverFactory
-
- connection - Property in DownloadException
-
- container - Property in PageContentTemplateBuilder
-
- contains(java.util.regex.Pattern) - Method in TextMatchingSupport
-
- containsWord(java.util.regex.Pattern) - Method in TextMatchingSupport
-
- content - Property in RequiredPageContentNotPresent
-
- ContentCountOutOfBoundsException - Class in geb.error
- ContentCountOutOfBoundsException(java.lang.Object, java.lang.String, java.lang.String) - Constructor in ContentCountOutOfBoundsException
-
- contextClick() - Method in InteractDelegate
-
- contextElements - Field in DefaultNavigator
-
- convert(java.lang.String) - Method in ExceptionToPngConverter
-
- convertToPath(java.lang.Object) - Method in Page
-
- create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, Map<String, Object>) - Method in BrowserStackDriverFactory
-
- create(java.lang.String, java.lang.String, java.lang.String, Map<String, Object>) - Method in CloudDriverFactory
-
- create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, Map<String, Object>) - Method in LambdaTestDriverFactory
-
- create(Map<String, Object>) - Method in SauceLabsDriverFactory
-
- createBase() - Method in BrowserBackedNavigatorFactory
-
- createBuildAdapter(groovy.lang.GroovyClassLoader) - Method in ConfigurationLoader
-
- createConf(groovy.util.ConfigObject, groovy.lang.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 Browser
-
Called to create the driver, the first time it is requested.
- createDriver() - Method in Configuration
-
- createDynamic(Supplier<Iterable<WebElement>>) - Method in AbstractNavigatorFactory
-
- createDynamic(Supplier<Iterable<WebElement>>) - Method in NavigatorFactory
-
Create a dynamic navigator, backed by the given web elements supplier.
- 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(geb.Browser, Iterable<WebElement>) - Method in ClosureInnerNavigatorFactory
-
- createNavigator(geb.Browser, Iterable<WebElement>) - Method in DefaultInnerNavigatorFactory
-
- createNavigator(geb.Browser, Iterable<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(geb.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.
- createReportLabel(java.lang.String) - Method in GebTestManager
-
- createSelectFor(org.openqa.selenium.WebElement) - Method in SelectFactory
-
- createSlurper() - Method in ConfigurationLoader
-
Creates a config slurper with environment we were constructed with (if any).
- css(java.lang.String) - Method in DefaultNavigator
-
- css(java.lang.String) - Method in Navigator
-
Gets the value of a given CSS property of the sole context element or null for empty Navigators.
- CssSelector - Class in geb.navigator
- customMessage - Property in Wait
-
- GebAssertionError - Class in geb.error
- GebAssertionError(java.lang.Object, java.lang.Throwable) - Constructor in GebAssertionError
-
- GebException - Class in geb.error
- GebException(java.lang.Throwable) - Constructor in GebException
-
- GebExtension - Class in geb.spock
- GebExtension() - Constructor in GebExtension
-
- GebReportingSpec - Class in geb.spock
- GebReportingSpec() - Constructor in GebReportingSpec
-
- GebReportingTest - Class in geb.testng
- GebReportingTest() - Constructor in GebReportingTest
-
- GebSpec - Class in geb.spock
- GebSpec() - Constructor in GebSpec
-
- GebTest - Class in geb.testng
- GebTest() - Constructor in GebTest
-
- GebTestListener - Class in geb.testng
- GebTestListener() - Constructor in GebTestListener
-
- GebTestManager - Class in geb.test
This implementation assumes that a thread is reserved for one test execution at least from
beforeTest until afterTest, and that beforeTestClass and afterTestClass
are called on the same thread, even if the thread executed some test inbetween.
- GebTestManager(Supplier<Browser>, Predicate<Class<?>>, boolean) - Constructor in GebTestManager
-
- GebTestManagerBuilder - Class in geb.test
- GebTestManagerBuilder() - Constructor in GebTestManagerBuilder
-
- GebTestManagerClassRule - Class in geb.junit4
- gebTestManagerClassRule - Field in GebTest
-
- GebTestManagerClassRule() - Constructor in GebTestManagerClassRule
-
- GebTestManagerExtension - Class in geb.junit5
- GebTestManagerExtension() - Constructor in GebTestManagerExtension
-
- GebTestManagerRule - Class in geb.junit4
- gebTestManagerRule - Field in GebTest
-
- GebTestManagerRule() - Constructor in GebTestManagerRule
-
- GebTestUtil - Class in geb.junit
- GebTestUtil() - Constructor in GebTestUtil
-
- get(java.lang.Object) - Method in PageContentTemplate
-
- getAt(java.util.Collection) - Method in DefaultNavigator
-
- getAt(java.lang.String) - Method in LocalStorage
-
- getAt(java.util.Collection) - Method in Navigator
-
Gets the wrapped elements at the given indexes.
- getAt(java.lang.String) - Method in SessionStorage
-
- getAt(java.lang.String) - Method in WebStorage
-
Returns a value stored under the given key in the storage.
- getAtCheckWaiting() - Method in Configuration
-
- getAttribute(java.lang.Object, java.lang.String) - Method in AttributeAccessingMetaClass
-
- getAttribute(java.lang.String) - Method in DefaultNavigator
-
- getAttribute(java.lang.String) - Method in Navigator
-
Returns the value of the given attribute of the sole context element or null for empty Navigators.
- getAttributes(java.lang.String) - Method in RadioButtons
-
- getAtVerificationResult(boolean) - Method in Page
-
Executes this page's "at checker" and captures the result wrapping up any AssertionError that might have been thrown.
- getAugmentedDriver(org.openqa.selenium.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 navigator for this factory.
- getBaseNavigatorWaiting() - Method in Configuration
-
- 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.
- getBaseXPathExpression() - Method in BrowserBackedNavigatorFactory
-
- getBrowser() - Method in AbstractNavigatorFactory
-
- getBrowser() - Method in GebTestManager
-
- getBrowser() - Method in Page
-
The browser that the page is connected to.
- getBrowser() - Method in TemplateDerivedPageContent
-
- getBuildAdapter(java.lang.ClassLoader) - Method in BuildAdapterFactory
-
The build adapter to use.
- getChecked() - Method in RadioButtons
-
- getCheckedElement() - Method in RadioButtons
-
- getCheckedLabel() - Method in RadioButtons
-
- getClassLoaderToUse() - Method in SelectFactory
-
- getColor() - Method in ColorInput
-
- getConf(java.lang.Class, groovy.lang.GroovyClassLoader) - Method in ConfigurationLoader
-
Creates a config backed by a given class.
- getConfFromClass(java.lang.String) - Method in ConfigurationLoader
-
- getConfig() - Method in Browser
-
Provides access to the configuration object assoicated with this browser.
- getConfig() - Method in PageContentTemplate
-
- getConstantValueOfType(org.codehaus.groovy.ast.expr.Expression, java.lang.Class) - Method in ImplicitAssertionsTransformationVisitor
-
- getContent(java.lang.String, java.lang.Object) - Method in DefaultPageContentSupport
-
- getContent(java.lang.String, java.lang.Object) - Method in PageContentSupport
-
- getContent(java.lang.String, java.lang.Object) - Method in UninitializedPageContentSupport
-
- getContentNames() - Method in DefaultPageContentSupport
-
- getContentNames() - Method in PageContentSupport
-
- getContentNames() - Method in UninitializedPageContentSupport
-
- getContentPath() - Method in Module
-
- getContentPath() - Method in Page
-
- getContentPath() - Method in PageContentContainer
-
- getContentPath() - Method in TemplateDerivedPageContent
-
- getCurrentUrl() - Method in Browser
-
Retrieves the current url
- getCurrentWindow() - Method in Browser
-
Retrieves current window
- getDate() - Method in DateInput
-
- getDateTime() - Method in DateTimeLocalInput
-
- 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
-
- deprecated:
- As of 8.0, replaced by createDriver(), the configuration does
no longer carry a driver instance.
- 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(java.lang.Object) - Method in Configuration
-
- getElement(int) - Method in DefaultNavigator
-
- getElements(java.util.Collection) - Method in DefaultNavigator
-
- getErrorMessage() - Method in SelectFactory
-
- getFile(java.io.File, java.lang.String, java.lang.String) - Method in ReporterSupport
-
Gets a file reference for the object with the given name and extension within the dir.
- getHasOwner() - Method in Module
-
- getHeight() - Method in DefaultNavigator
-
- getHeight() - Method in Navigator
-
Returns the height of the sole element the navigator matches or 0 if it matches nothing.
- getIncludeCauseInWaitTimeoutExceptionMessage() - Method in Configuration
-
Returns Either the value at config path waiting.includeCauseInMessage or false if there is none.
- getInitializedNavigator() - Method in Module
-
- getInnerNavigatorFactory() - Method in Configuration
-
Returns the inner navigatory factory, that turns WebElements into Navigators.
- getInputType() - Method in AbstractInput
-
- getInputValue(org.openqa.selenium.WebElement) - Method in DefaultNavigator
-
- getInputValues(Collection<WebElement>) - Method in DefaultNavigator
-
- getJquery() - Method in DefaultNavigator
-
- 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
-
- getLocalStorage() - Method in Browser
-
Returns an object that allows access to and manipulation of local storage.
- getLocator() - Method in NavigatorBackedNavigatorFactory
-
- getLocator() - Method in NavigatorFactory
-
The locator used for all content lookups from this factory.
- getManager(org.spockframework.runtime.extension.IMethodInvocation) - Method in GebExtension
-
- getMax() - Method in MonthInput
-
- getMax() - Method in NumberLikeInput
-
- getMax() - Method in TimeInput
-
- getMax() - Method in WeekInput
-
- getMin() - Method in MonthInput
-
- getMin() - Method in NumberLikeInput
-
- getMin() - Method in TimeInput
-
- getMin() - Method in WeekInput
-
- getMonth() - Method in MonthInput
-
- getNavigator() - Method in DefaultPageContentSupport
-
- getNavigator() - Method in PageContentSupport
-
- getNavigator() - Method in UninitializedPageContentSupport
-
- getNavigatorEventListener() - Method in Configuration
-
- getNavigatorFactory() - Method in Browser
-
Returns the factory that creates navigator instances for this browser.
- getNumber() - Method in NumberLikeInput
-
- getOptionalRemoteWebDriverClass() - Method in RemoteDriverOperations
-
- getOwner() - Method in DefaultPageContentSupport
-
- getOwner() - Method in PageContentSupport
-
- getOwner() - Method in UninitializedPageContentSupport
-
- getPage() - Method in Browser
-
Provides access to the current page object.
- getPageEventListener() - Method in Configuration
-
- getPageFragment() - Method in Page
-
Returns the fragment part of the url to this page.
- getPageLevelAtCheckWaiting() - Method in Page
-
- getPageSource(geb.Browser) - Method in PageSourceReporter
-
- getPageSourceFileExtension(geb.Browser) - Method in PageSourceReporter
-
Here to allow smarter calculation of the extension if necessary
- getPageUrl(java.lang.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(geb.report.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.
- getRequirePageAtCheckers() - Method in Configuration
-
Whether or not to throw an exception when implicit "at checks" are being performed and the checked page does not define an "at check".
- getRootContainer() - Method in Module
-
- getRootContainer() - Method in Page
-
- getRootContainer() - Method in PageContentContainer
-
- getRootContainer() - Method in TemplateDerivedPageContent
-
- getSelected() - Method in MultipleSelect
-
- getSelected() - Method in Select
-
- getSelectedText() - Method in MultipleSelect
-
- getSelectedText() - Method in Select
-
- getSessionStorage() - Method in Browser
-
Returns an object that allows access to and manipulation of session storage.
- getShouldVerifyAtImplicitly() - Method in Page
-
- getSourceUnit() - Method in ImplicitAssertionsTransformationVisitor
-
- getStep() - Method in MonthInput
-
- getStep() - Method in NumberLikeInput
-
- getStep() - Method in TimeInput
-
- getStep() - Method in WeekInput
-
- getStringRepresentation() - Method in DefaultNavigator
-
- getStringRepresentation() - Method in Module
-
- getStringRepresentation() - Method in Navigator
-
Provides the text to be returned from toString() as well as to be used as part of the value returned from toString() if this navigator backs a template derived
content element.
- getStringRepresentation() - Method in StringRepresentationProvider
-
- getStringRepresentation() - Method in TemplateDerivedContentStringRepresentationProvider
-
- getTemplateOptions() - Method in Configuration
-
Returns default values used for some of the content DSL template options.
- getTemplateParams() - Method in TemplateDerivedPageContent
-
- getTestManager() - Method in GebReportingSpec
-
- getTestManager() - Method in GebReportingTest
-
- getTestManager() - Method in GebSpec
-
- getTestManager() - Method in GebTest
-
- getTestManager(Class<?>) - Method in GebTestUtil
-
- getTestManager() - Method in ManagedGebTest
-
- getText() - Method in Textarea
-
- getText() - Method in TextLikeInput
-
- getTime() - Method in TimeInput
-
- getTitle() - Method in Page
-
Returns the title of the current browser window.
- getUnexpectedPageMessage() - Method in UnexpectedPage
-
- getUnexpectedPages() - Method in Configuration
-
- getValue(org.openqa.selenium.WebElement) - Method in DefaultNavigator
-
- getWait(java.lang.Number) - Method in Configuration
-
- getWaitForParam(java.lang.Object) - Method in Configuration
-
- getWaitPreset(java.lang.String) - Method in Configuration
-
- getWeek() - Method in WeekInput
-
- getWidth() - Method in DefaultNavigator
-
- getWidth() - Method in Navigator
-
Returns the width of the sole element the navigator matches or 0 if it matches nothing.
- getWithNewWindowConfig() - Method in Configuration
-
- getWithWindowConfig() - Method in Configuration
-
- getX() - Method in DefaultNavigator
-
- getX() - Method in Navigator
-
Returns the x coordinate (from the top left corner) of the sole element the navigator matches or 0 if it matches nothing.
- getY() - Method in DefaultNavigator
-
- getY() - Method in Navigator
-
Returns the y coordinate (from the top left corner) of the sole element the navigator matches or 0 if it matches nothing.
- global(geb.driver.DriverFactory, boolean) - Method in CachingDriverFactory
-
- go(java.util.Map, java.lang.String, geb.url.UrlFragment) - Method in Browser
-
Sends the browser to the given url with the given query params and fragment.
- Page - Class in geb
The Page type is the basis of the Page Object pattern in Geb.
- page(geb.Page) - Method in Browser
-
Changes the browser's page to be an instance of the first given instance whose at checker returns a true value.
- Page() - Constructor in Page
-
- page - Property in PageContentTemplateParams
-
The value of the 'page' option.
- PageChangeListener - Interface in geb
Mechanism for 3rd parties to receive notification when a browser page instance changes
- PageContentContainer - Interface in geb.content
Marker interface for anything that has content, i.e. pages and modules.
- PageContentNames - Class in geb.content
- PageContentSupport - Class in geb.content
- PageContentSupport() - Constructor in PageContentSupport
-
- PageContentTemplate - Class in geb.content
- PageContentTemplate(geb.Browser, geb.content.PageContentContainer, java.lang.String, Map<String, ?>, groovy.lang.Closure, geb.navigator.factory.NavigatorFactory) - Constructor in PageContentTemplate
-
- PageContentTemplateBuilder - Class in geb.content
- PageContentTemplateBuilder(geb.Browser, geb.content.PageContentContainer, geb.navigator.factory.NavigatorFactory) - Constructor in PageContentTemplateBuilder
-
- PageContentTemplateFactoryDelegate - Class in geb.content
- PageContentTemplateFactoryDelegate(geb.content.PageContentTemplate) - Constructor in PageContentTemplateFactoryDelegate
-
- PageContentTemplateParams - Class in geb.content
- PageContentTemplateParams(geb.content.PageContentTemplate, java.lang.String, Map<String, ?>, geb.TemplateOptionsConfiguration) - Constructor in PageContentTemplateParams
-
- PageEventListener - Interface in geb
Implementations of this interface can be registered with
Configuration to listen to certain
Page events.
- PageEventListenerSupport - Class in geb
- PageEventListenerSupport() - Constructor in PageEventListenerSupport
-
- PageInstanceNotInitializedException - Class in geb.error
- PageInstanceNotInitializedException(java.lang.String) - Constructor in PageInstanceNotInitializedException
-
- PageSourceReporter - Class in geb.report
Writes the source content of the browser's current page as a html file.
- PageSourceReporter() - Constructor in PageSourceReporter
-
- pageWillChange(geb.Browser, geb.Page, geb.Page) - Method in CompositePageEventListener
-
- pageWillChange(geb.Browser, geb.Page, geb.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.
- pageWillChange(geb.Browser, geb.Page, geb.Page) - Method in PageEventListener
-
Called each time the browser's page instance changes.
- pageWillChange(geb.Browser, geb.Page, geb.Page) - Method in PageEventListenerSupport
-
- params - Property in PageContentTemplate
-
- parent(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- parent(Map<String, Object>, java.lang.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.
- parents(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- parents(Map<String, Object>, java.lang.String) - Method in Navigator
-
Creates a new Navigator instance containing all the ancestor elements of the
current context elements that match the given attributes.
- parentsUntil(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- parentsUntil(Map<String, Object>, java.lang.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.
- parseNumber(java.lang.String) - Method in NumberLikeInput
-
- PasswordInput - Class in geb.module
- PasswordInput() - Constructor in PasswordInput
-
- pattern - Property in PatternTextMatcher
-
- PatternTextMatcher - Class in geb.textmatching
- PatternTextMatcher(java.lang.CharSequence) - Constructor in PatternTextMatcher
-
- pause() - Method in Browser
-
Indefinitely waits for geb.unpause javascript variable to be set to true in the driven browser.
- pause(java.time.Duration) - Method in InteractDelegate
-
- See Also:
- Actions#pause(java.time.Duration)
- perform() - Method in InteractDelegate
-
- perThread(geb.driver.DriverFactory, boolean) - Method in CachingDriverFactory
-
- plus(geb.navigator.Navigator) - Method in DefaultNavigator
-
- plus(geb.navigator.Navigator) - Method in Navigator
-
Merges the Navigator instance with the current instance to create a new
Navigator instance containing the context elements of both.
- PngUtils - Class in geb.report
- PngUtils() - Constructor in PngUtils
-
- potentiallyTransform(java.lang.String, List<Expression>) - Method in ImplicitAssertionsTransformationVisitor
-
- PotentiallyWaitingExecutor - Class in geb.waiting
- PotentiallyWaitingExecutor(geb.waiting.Wait) - Constructor in PotentiallyWaitingExecutor
-
- prevAll(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- prevAll(Map<String, Object>, java.lang.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.
- previous(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- previous(Map<String, Object>, java.lang.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.
- prevUntil(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- prevUntil(Map<String, Object>, java.lang.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.
- properties - Property in Configuration
-
- properties - Property in ConfigurationLoader
-
- PROPERTY_MISSING_METHOD_NAME - Field in DynamicallyDispatchesToBrowserAstTransformation
-
- propertyMissing(java.lang.String, java.lang.Object) - Method in Browser
-
Delegates the property assignment directly to the current page object.
- propertyMissing(java.lang.String, java.lang.Object) - Method in DefaultNavigator
-
- propertyMissing(java.lang.String) - Method in JavascriptInterface
-
- propertyMissing(java.lang.String, java.lang.Object) - Method in Module
-
- propertyMissing(java.lang.String) - Method in ModuleBaseDefinitionDelegate
-
- propertyMissing(java.lang.String, java.lang.Object) - Method in PageContentSupport
-
- propertyMissing(java.lang.String) - Method in PageContentTemplateBuilder
-
- propertyMissing(java.lang.String) - Method in PageContentTemplateFactoryDelegate
-
- propertyMissing(java.lang.String, java.lang.Object) - Method in TemplateDerivedPageContent
-
- putAt(java.lang.String, java.lang.String) - Method in LocalStorage
-
- putAt(java.lang.String, java.lang.String) - Method in SessionStorage
-
- putAt(java.lang.String, java.lang.String) - Method in WebStorage
-
Stores the value under the the given key in the storage.
- SauceLabsDriverFactory - Class in geb.driver
- SauceLabsDriverFactory(java.lang.String) - Constructor in SauceLabsDriverFactory
-
- saveScreenshotPngBytes(java.io.File, java.lang.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.
- ScreenshotReporter() - Constructor in ScreenshotReporter
-
- SearchContextBasedBasicLocator - Class in geb.navigator
- SearchContextBasedBasicLocator(Iterable<? extends SearchContext>, geb.navigator.factory.NavigatorFactory) - Constructor in SearchContextBasedBasicLocator
-
- SearchInput - Class in geb.module
- SearchInput() - Constructor in SearchInput
-
- Select - Class in geb.module
- SELECT_CLASS_NAME - Field in SelectFactory
-
- select(org.openqa.selenium.WebElement) - Method in DefaultNavigator
-
- Select() - Constructor in Select
-
- SelectFactory - Class in geb.navigator
- SelectFactory() - Constructor in SelectFactory
-
- SelfSignedCertificateHelper - Class in geb.download.helper
- SelfSignedCertificateHelper.1 - Class in geb.download.helper
- SelfSignedCertificateHelper.1() - Constructor in SelfSignedCertificateHelper.1
-
- SelfSignedCertificateHelper(java.net.URL, java.lang.String) - Constructor in SelfSignedCertificateHelper
-
- sendKeys(geb.navigator.Navigator, java.lang.CharSequence) - Method in InteractDelegate
-
- See Also:
- Actions#sendKeys(org.openqa.selenium.WebElement, java.lang.CharSequence ...)
- SessionStorage - Class in geb.webstorage
- SessionStorage(org.openqa.selenium.html5.WebStorage) - Constructor in SessionStorage
-
- setAtCheckWaiting(java.lang.Object) - Method in Configuration
-
- setAutoClearCookies(boolean) - Method in Configuration
-
Sets the auto clear cookies flag explicitly, overwriting any value from the config script.
- setAutoClearWebStorage(boolean) - Method in Configuration
-
Sets the auto clear web storage flag explicitly, overwriting any value from the config script.
- setBaseNavigatorWaiting(java.lang.Object) - Method in Configuration
-
- setBaseUrl(java.lang.String) - Method in Browser
-
Changes the base url used for resolving relative urls.
- setBaseUrl(java.lang.Object) - Method in Configuration
-
- setCacheDriver(boolean) - Method in Configuration
-
Updates the cacheDriver config entry.
- setCacheDriverPerThread(boolean) - Method in Configuration
-
Updates the cacheDriverPerThread config entry.
- setCheckboxValue(org.openqa.selenium.WebElement, java.lang.Object) - Method in DefaultNavigator
-
- setChecked(java.lang.String) - Method in RadioButtons
-
- setColor(java.lang.String) - Method in ColorInput
-
- setDate(java.lang.String) - Method in DateInput
-
- setDateTime(java.lang.String) - Method in DateTimeLocalInput
-
- setDefaultWaitRetryInterval(java.lang.Number) - Method in Configuration
-
Updates the waiting.retryInterval config entry.
- setDefaultWaitTimeout(java.lang.Number) - Method in Configuration
-
Updates the waiting.timeout config entry.
- setDownloadConfig(groovy.lang.Closure) - Method in Configuration
-
- setDriver(org.openqa.selenium.WebDriver) - Method in Browser
-
Set (or change) the webdriver underneath this browser.
- setDriver(org.openqa.selenium.WebDriver) - Method in Configuration
-
- deprecated:
- As of 8.0, the configuration does no longer carry a driver
instance, but only create new driver instances, the driver
instance used is stored in the browser instance.
- setDriverConf(java.lang.Object) - Method in Configuration
-
Sets the driver configuration value.
- setEventListener(geb.navigator.event.NavigatorEventListener) - Method in DefaultNavigator
-
- setEventListener(geb.navigator.event.NavigatorEventListener) - Method in Module
-
- setEventListener(geb.navigator.event.NavigatorEventListener) - Method in Navigator
-
- setEventListener(geb.navigator.event.NavigatorEventListener) - Method in TemplateDerivedPageContent
-
- setFile(java.io.File) - Method in FileInput
-
- setIncludeCauseInWaitTimeoutExceptionMessage(boolean) - Method in Configuration
-
Updates the waiting.includeCauseInMessage config entry.
- setInnerNavigatorFactory(geb.navigator.factory.InnerNavigatorFactory) - Method in Configuration
-
Sets the inner navigator factory.
- setInputValue(org.openqa.selenium.WebElement, java.lang.String, java.lang.Object, boolean) - Method in DefaultNavigator
-
- setInputValues(Iterable<WebElement>, java.lang.Object) - Method in DefaultNavigator
-
- setMonth(java.lang.String) - Method in MonthInput
-
- setNavigatorEventListener(geb.navigator.event.NavigatorEventListener) - Method in Configuration
-
- setNetworkLatency(java.time.Duration) - Method in Browser
-
Allows to introduce network latency to the browser being driven.
- setNumber(java.lang.Number) - Method in NumberLikeInput
-
- setPageEventListener(geb.PageEventListener) - Method in Configuration
-
- setQuitCacheDriverOnShutdown(boolean) - Method in Configuration
-
Sets whether or not the cached driver should be quit when the JVM shuts down.
- setQuitDriverOnBrowserReset(boolean) - Method in Configuration
-
- setReporter(geb.report.Reporter) - Method in Configuration
-
Updates the reporter config entry.
- setReportingListener(geb.report.ReportingListener) - Method in Configuration
-
- setReportOnTestFailureOnly(boolean) - Method in Configuration
-
- setReportsDir(java.io.File) - Method in Configuration
-
- setRequirePageAtCheckers(boolean) - Method in Configuration
-
Sets the requirePageAtCheckers flag explicitly, overwriting any value from the config script.
- setSelected(List<String>) - Method in MultipleSelect
-
- setSelected(java.lang.String) - Method in Select
-
- setSelectValue(org.openqa.selenium.WebElement, java.lang.Object) - Method in DefaultNavigator
-
- setTemplateCacheOption(boolean) - Method in Configuration
-
Updates the templateOptions.cache config entry.
- setTemplateMaxOption(int) - Method in Configuration
-
Updates the templateOptions.max config entry.
- setTemplateMinOption(int) - Method in Configuration
-
Updates the templateOptions.min config entry.
- setTemplateRequiredOption(boolean) - Method in Configuration
-
Updates the templateOptions.required config entry.
- setTemplateToWaitOption(java.lang.Object) - Method in Configuration
-
Updates the templateOptions.toWait config entry.
- setTemplateWaitConditionOption(Closure<?>) - Method in Configuration
-
Updates the templateOptions.waitCondition config entry.
- setTemplateWaitOption(java.lang.Object) - Method in Configuration
-
Updates the templateOptions.wait config entry.
- setText(java.lang.String) - Method in Textarea
-
- setText(java.lang.String) - Method in TextLikeInput
-
- setTime(java.lang.String) - Method in TimeInput
-
- setUnexpectedPages(Collection<Class<? extends Page>>) - Method in Configuration
-
- setWaitPreset(java.lang.String, java.lang.Number, java.lang.Number) - Method in Configuration
-
Updates a waiting.preset config entry for a given preset name.
- setWeek(java.lang.String) - Method in WeekInput
-
- setWithNewWindowCloseOption(boolean) - Method in Configuration
-
Updates the withNewWindow.close config entry.
- setWithNewWindowWaitOption(java.lang.Object) - Method in Configuration
-
Updates the withWindow.wait config entry.
- setWithWindowCloseOption(boolean) - Method in Configuration
-
Updates the withWindow.close config entry.
- siblings(Map<String, Object>, java.lang.String) - Method in DefaultNavigator
-
- siblings(Map<String, Object>, java.lang.String) - Method in Navigator
-
Creates a new Navigator instance containing all the sibling elements of the
current context elements that match the selector and given attributes.
- singleElement() - Method in DefaultNavigator
-
- singleElement() - Method in Navigator
-
- SingleElementNavigatorOnlyMethodException - Class in geb.error
- SingleElementNavigatorOnlyMethodException(java.lang.reflect.Method, int) - Constructor in SingleElementNavigatorOnlyMethodException
-
- size() - Method in DefaultNavigator
-
- size() - Method in LocalStorage
-
- size() - Method in Navigator
-
Returns the number of context elements.
- size() - Method in SessionStorage
-
- size() - Method in WebStorage
-
Returns the number of keys for which values are stored.
- softLoadRemoteDriverClass(java.lang.String) - Method in RemoteDriverOperations
-
- sourceUnit - Property in ImplicitAssertionsTransformationVisitor
-
- specialClassLoader - Property in ConfigurationLoader
-
- SpockGebTestManagerBuilder - Class in geb.spock
- SpockGebTestManagerBuilder() - Constructor in SpockGebTestManagerBuilder
-
- start() - Method in GebExtension
-
- startsWith(java.util.regex.Pattern) - Method in TextMatchingSupport
-
- stop() - Method in GebExtension
-
- StringRepresentationProvider - Interface in geb.content
- switchToWindow(java.lang.String) - Method in Browser
-
- SystemPropertiesBuildAdapter - Class in geb.buildadapter
Loads values via system properties.
- SystemPropertiesBuildAdapter() - Constructor in SystemPropertiesBuildAdapter
-