Sha256: f086dec57db90239f734fbc9f0f071d3a0d46b8fd022fa78c8721f576f437860
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
# keep_cookies! module Selenium module WebDriver module Firefox class Launcher def keep_cookies! origin_profile_dir = @profile.instance_variable_get("@model") File.delete "#{@profile_dir}/cookies.sqlite" File.symlink "#{origin_profile_dir}/cookies.sqlite", "#{@profile_dir}/cookies.sqlite" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tagen-2.0.2 | lib/tagen/selenium-webdriver/webdriver/firefox.rb |