module Selenium::WebDriver::ProfileHelper::ClassMethods
Public Instance Methods
from_json(json)
click to toggle source
# File lib/selenium/webdriver/common/profile_helper.rb, line 73 def from_json(json) data = decoded(json) Tempfile.create do |zip_path| File.open(zip_path, 'wb') { |zip_file| zip_file << Base64.decode64(data) } new Zipper.unzip(zip_path) end end