Method: Selenium::Client::GeneratedDriver#is_cookie_present

Defined in:
lib/selenium/client/legacy_driver.rb

Returns true if a cookie with the specified name is present, or false otherwise.

‘name’ is the name of the cookie


1464
1465
1466
# File 'lib/selenium/client/legacy_driver.rb', line 1464

def is_cookie_present(name)
    return boolean_command("isCookiePresent", [name,])
end