browserstack.local

34 views
Skip to first unread message

David Lumpkin

unread,
Mar 30, 2015, 12:02:13 PM3/30/15
to geb-...@googlegroups.com
Is there any way to force Geb not to set browserstack.local when using the BrowserStackDriverFactory? I wan't to avoid running the browerstack local client when I am testing public facing resources.

-David Lumpkin

Marcin Erdmann

unread,
Mar 30, 2015, 12:40:46 PM3/30/15
to geb-...@googlegroups.com
You can extend BrowserStackDriverFactory and override configureCapabilities like this:

protected void configureCapabilities(DesiredCapabilities desiredCapabilities) {
    super.configureCapabilities(desiredCapabilities)
    desiredCapabilities.setCapability("browserstack.local", "false")
}

Would you mind creating an issue in JIRA for making that configurable? You can already add additional capabilities to create() but they are overridden by the default ones and it should be the other way around.

On Mon, Mar 30, 2015 at 5:02 PM, David Lumpkin <david....@craftsy.com> wrote:
Is there any way to force Geb not to set browserstack.local when using the BrowserStackDriverFactory? I wan't to avoid running the browerstack local client when I am testing public facing resources.

-David Lumpkin

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/cc2c2ae7-00b5-4f85-b67f-d476c66bcc86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Lumpkin

unread,
Mar 30, 2015, 1:49:22 PM3/30/15
to geb-...@googlegroups.com
Done, overriding configureCapabilities does what I need for now and I entered the following JIRA ticket:


Thanks for your help,

-David Lumpkin

--
You received this message because you are subscribed to a topic in the Google Groups "Geb User Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/geb-user/SEq5r5WsPqs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to geb-user+u...@googlegroups.com.

To post to this group, send email to geb-...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
David Lumpkin
Test Automation Engineer

Marcin Erdmann

unread,
Mar 30, 2015, 1:51:11 PM3/30/15
to geb-...@googlegroups.com
Thanks for reporting and creating the issue, David.

Reply all
Reply to author
Forward
0 new messages