Skip to content

Commit

Permalink
Ruby: Add :javascript_enabled to Android capabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Dec 20, 2014
1 parent c523c76 commit bd92545
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rb/lib/selenium/webdriver/remote/capabilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ class Capabilities
class << self
def android(opts = {})
new({
:browser_name => "android",
:platform => :android,
:rotatable => true,
:takes_screenshot => true
:browser_name => "android",
:platform => :android,
:javascript_enabled => true,
:rotatable => true,
:takes_screenshot => true
}.merge(opts))
end

Expand Down

0 comments on commit bd92545

Please sign in to comment.