Async::WebDriver SourceAsyncWebDriverScopeCookies

module Cookies

Helpers for working with cookies.

Definitions

def cookies

Get all cookies.

Implementation

def cookies
	session.get("cookie")
end

def cookie(name)

Get a cookie by name.

Signature

parameter name String

The name of the cookie.

Implementation

def cookie(name)
	session.get("cookie/#{name}")
end

def delete_all_cookies

Delete all cookies.

Implementation

def delete_all_cookies
	session.delete("cookie")
end