Module: Selenium::WebDriver::ProfileHelper Private
- Included in:
- Chrome::Profile, Firefox::Profile
- Defined in:
- rb/lib/selenium/webdriver/common/profile_helper.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Common methods for Chrome::Profile and Firefox::Profile Includers must implement #layout_on_disk
Defined Under Namespace
Modules: ClassMethods
Class Method Summary (collapse)
- + (Object) included(base) private
Instance Method Summary (collapse)
- - (Object) as_json(opts = nil) private
- - (Object) to_json(*args) private
Class Method Details
+ (Object) included(base)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'rb/lib/selenium/webdriver/common/profile_helper.rb', line 13 def self.included(base) base.extend ClassMethods end |
Instance Method Details
- (Object) as_json(opts = nil)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'rb/lib/selenium/webdriver/common/profile_helper.rb', line 17 def as_json(opts = nil) {'zip' => Zipper.zip(layout_on_disk)} end |
- (Object) to_json(*args)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'rb/lib/selenium/webdriver/common/profile_helper.rb', line 21 def to_json(*args) WebDriver.json_dump as_json end |