diff --git a/rb/lib/selenium/webdriver/common/manager.rb b/rb/lib/selenium/webdriver/common/manager.rb index d080e0ead6ef7..99181d7700f67 100644 --- a/rb/lib/selenium/webdriver/common/manager.rb +++ b/rb/lib/selenium/webdriver/common/manager.rb @@ -65,7 +65,7 @@ def add_cookie(opts = {}) # Get the cookie with the given name # # @param [String] name the name of the cookie - # @return [Hash, nil] the cookie, or throws a NoSuchCookieError if it wasn't found. + # @return [Hash] the cookie, or throws a NoSuchCookieError if it wasn't found. # def cookie_named(name)