Sha256: f6b0d7f0f5a025a6f0aef20f235a6d709021558e29fcdad3955e68f4c418c747
Contents?: true
Size: 641 Bytes
Versions: 1
Compression:
Stored size: 641 Bytes
Contents
module Watir class Browser def clear_all_cookies @driver.manage.clear_cookies end end end module Selenium module WebDriver class Options def clear_cookies @bridge.clearCookies end end module Remote class Bridge def clearCookies execute :clearCookies end command :clearCookies, :delete, "session/:session_id/cookies" end end module Firefox class Profile remove_const :WEBDRIVER_EXTENSION_PATH WEBDRIVER_EXTENSION_PATH = File.expand_path('../firefox/webdriver.xpi', __FILE__) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ayanko-watir-webdriver-0.1.1.1 | lib/watir-webdriver/extensions/cookies.rb |