4

I just want to know why it is I should go for Geb automation. What are the advantages of using Geb automation over selenium Web driver or Robot framework. I would like to know regarding following feature:

  1. PageObject support
  2. jQuery content selection
  3. Good integration with BDD frameworks like Spock, Cucumber etc.

Please describe in detail how these features are beneficial.

1 Answer 1

2

Geb runs WebDriver in the Groovy language. The goal is to make the use of WebDriver simpler.

However, if you use WebDriver directly, it's supported in a number of languages, including Python, Ruby, C#, Java and implementations exist in others, including PHP, Perl and potentially Javascript.

The support for PageObject and jQuery selection is existent in both, given that they utilise most of the same components.

How Geb handles PageObjects.

Geb's Navigator API, which is inspired by jQuery.

And yes, both have the same degree of integration with Spock etc.

For more information on Geb, check out the Book of Geb on the official site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.