When comparing Geb vs Chrome DevTools, the Slant community recommends Chrome DevTools for most people. In the question“What are the best test automation tools for web apps?” Chrome DevTools is ranked 7th while Geb is ranked 15th. The most important reason people chose Chrome DevTools is:
Chrome comes with DevTools baked in. So if Chrome is used for development and it fills the need, there's no need for a separate tool.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy integration with build systems
It's very easy to integrate Geb with any build system.
Pro Asynchronous requests testing is a easier
Asynchronous web pages can easily be tested with Geb as it has built in, easy to use support for testing such operations.
Pro No need for a separate tool
Chrome comes with DevTools baked in. So if Chrome is used for development and it fills the need, there's no need for a separate tool.
Cons
Con Low IDE support
There are not many IDEs that support Geb.
Con Limited to the box model of elements
DevTools only displays measurements of the HTML element's box that means that it can't measure, for example, relative to text's baseline or objects within a canvas element.
Con Does not measure distance between elements
DevTools measure dimensions of HTML elements only.