Sha256: ef1cc4ca095a867d2fece9c8bd431f7e24b76c9998a64c8f4360473948d6a899
Contents?: true
Size: 727 Bytes
Versions: 19
Compression:
Stored size: 727 Bytes
Contents
module Webdriver class Cookie attr_reader :name def initialize(name, connection) @name = name @session_connection = connection @connection = Webdriver::PrefixConnection.new "cookie/#{@name}", connection end def delete! @connection.delete self end def domain __refresh["domain"] end def expiry __refresh["expiry"] end def http_only __refresh["httpOnly"] end def path __refresh["path"] end def same_site __refresh["sameSite"] end def secure __refresh["secure"] end def value __refresh["value"] end private def __refresh @connection.get end end end
Version data entries
19 entries across 19 versions & 1 rubygems