I'm using Geb to write some browser automation tests. It allows you to configure a baseUrl
and specify browser actions relative to this, as detailed in The Book of Geb. This works nicely for paths within the site but I can't see any syntax for dealing with subdomains.
Is there a simple way of going from baseUrl = http://myapp.com/
to http://sub.myapp.com
using the Geb DSL or am I going to have to grab the property that defines the baseUrl in code and use it to generate the subdomain?