Skip to content

Commit

Permalink
[rb] passing in the instance now
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 11, 2024
1 parent f21e64b commit 91be548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def initialize(path: nil, port: nil, log: nil, args: nil)
def launch
@executable_path ||= begin
default_options = WebDriver.const_get("#{self.class.name&.split('::')&.[](2)}::Options").new
DriverFinder.new(default_options, self.class).driver_path
DriverFinder.new(default_options, self).driver_path
end
ServiceManager.new(self).tap(&:start)
end
Expand Down

0 comments on commit 91be548

Please sign in to comment.