Skip to content

Commit 0acb52e

Browse files
committed
[rb] add enable_downloads to attr_accessor for all options classes
this only applies to chromium & firefox via grid, but it needs to be supported directly like this
1 parent 3d51071 commit 0acb52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def safari(**opts)
5252
end
5353

5454
def set_capabilities
55-
(W3C_OPTIONS + self::CAPABILITIES.keys).each do |key|
55+
(W3C_OPTIONS + GRID_OPTIONS + self::CAPABILITIES.keys).each do |key|
5656
next if method_defined? key
5757

5858
define_method key do

0 commit comments

Comments
 (0)