Skip to content

Commit 542f0a1

Browse files
authored
[rb] Fix wrongly trying to load a constant (#11931)
1 parent 7869fdc commit 542f0a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rb/lib/selenium/webdriver/devtools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def method_missing(method, *_args)
6060
"#{namespace}::#{Object.const_get(methods_to_classes)[method]}"
6161
else
6262
# selenium-devtools 0.112 and older
63-
"#{namespace}::#{method.capitalize}}"
63+
"#{namespace}::#{method.capitalize}"
6464
end
6565

6666
return unless Object.const_defined?(desired_class)

0 commit comments

Comments
 (0)