Skip to content

Instantly share code, notes, and snippets.

View gongo's full-sized avatar
🍕
Thanks Driven Development

Wataru MIYAGUNI gongo

🍕
Thanks Driven Development
View GitHub Profile
@gromin
gromin / gist:3082623
Created July 10, 2012 10:46
How to use various remote selenium drivers with Cucumber
# This should be placed inside features/support/env.rb
# So we could specify at command prompt desired remote address and browser, e.g.:
# be cucumber REMOTE=true REMOTE_BROWSER=ie REMOTE_ADDR=192.168.1.1
# But there are some peculiarities which should be further investigated:
# * chrome needs chromedriver executable
# * opera loses focus and no further execution possible
# * it's impossible to attach a file to remote browser in file-handling scenarios