Skip to content

Commit

Permalink
[rb] Fix wrongly trying to load a constant (#11931)
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed Apr 23, 2023
1 parent 7869fdc commit 542f0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/devtools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def method_missing(method, *_args)
"#{namespace}::#{Object.const_get(methods_to_classes)[method]}"
else
# selenium-devtools 0.112 and older
"#{namespace}::#{method.capitalize}}"
"#{namespace}::#{method.capitalize}"
end

return unless Object.const_defined?(desired_class)
Expand Down

0 comments on commit 542f0a1

Please sign in to comment.