You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed arti
This draft is not adequately supported by reliable sources. Wikipedia's verifiability policy requires that all content be supported by reliable sources.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
|
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
| Geb | |
|---|---|
| Original authors | Luke Daley, Marcin Erdmann |
| Developers | Luke Daley, Marcin Erdmann |
| Stable release | 8.0.1
/ November 11, 2025 |
| Type | Test framework |
| License | Apache 2.0 |
| Website | groovy |
| Repository | github |
Geb (pronounced "jeb") is a functional test framework for browser web applications. It is backed by the Selenium WebDriver. The tests are written in the Groovy programming language. The test code syntax uses Groovy DSL that allows describing Page Object models (entire pages and their modules) in a declarative style.[1]
The framework can be integrated with test engines such as Spock, JUnit, and TestNG.[2]
The content of a web page is usually selected via the $ method, which returns an object of the Navigator class. Such an object can wrap one or more objects of the WebDriver WebElement interface and provides additional functionality. The method extends the functionality of the Selenium finders by adding advanced features. It uses the jQuery style, e.g., the call $("div", 3, title: "section") returns the fourth (indexing begins with 0) DIV element with a title attribute value of "section". The full method signature is $(selector, indexOrRange, listOfAttributeAndOrTextAndOrVisibilityMatchers).
A Navigator object can be created dynamic. For such navigators, the related DOM elements are refreshed whenever they are accessed.
Geb Page Object models can describe both entire pages and modules that can be shared among different pages, such as navigation bars and footers. The model classes extend the library Page and Model classes.
The special Groovy DSL supports the declarative style and uses nested code blocks in braces, reflecting the elements hierarchy.
As a WebDriver wrapper, Geb allows direct access to its functionality when needed. Also, since it implements the WebDriver protocol, it can be integrated with Appium to support mobile testing.
Spock, JUnit, and TestNG test engines can be used to run Geb-based tests. For better integration with Spock, Geb provides the special GebSpec class.
Category:Cross-platform software Category:Java development tools Category:Java (software platform) Category:Graphical user interface testing Category:Software using the Apache license
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- provide significant coverage: discuss the subject in detail, not just brief mentions or routine announcements;
- are reliable: from reputable outlets with editorial oversight;
- are independent: not connected to the subject, such as interviews, press releases, the subject's own website, or sponsored content.
Please add references that meet all three of these criteria. If none exist, the subject is not yet suitable for Wikipedia.