Class: Selenium::WebDriver::Firefox::Launcher
- Inherits:
-
Object
- Object
- Selenium::WebDriver::Firefox::Launcher
- Defined in:
- lib/tagen/selenium-webdriver/webdriver/firefox.rb
Instance Method Summary collapse
Instance Method Details
#keep_cookies! ⇒ Object
6 7 8 9 10 11 |
# File 'lib/tagen/selenium-webdriver/webdriver/firefox.rb', line 6 def 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 |