Skip to content

Commit

Permalink
Rebase from master and fix rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Mar 6, 2019
1 parent 34522d1 commit 2abd80f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/socket_poller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def listening?
sock.close
true
rescue *NOT_CONNECTED_ERRORS
sock.close if sock
sock&.close
WebDriver.logger.debug("polling for socket on #{[@host, @port].inspect}")
false
end
Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/safari/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Safari

class Service < WebDriver::Service
DEFAULT_PORT = 7050
@executable = 'safaridriver'.freeze
@executable = 'safaridriver'
@missing_text = <<-ERROR.gsub(/\n +| {2,}/, ' ').freeze
Unable to find Apple's safaridriver which comes with Safari 10.
More info at https://webkit.org/blog/6900/webdriver-support-in-safari-10/
Expand Down

0 comments on commit 2abd80f

Please sign in to comment.