Method: Selenium::WebDriver::ShadowRoot#to_json
- Defined in:
- lib/selenium/webdriver/common/shadow_root.rb
#to_json ⇒ Object
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.
Convert to a ShadowRoot JSON Object for transmission over the wire.
67 68 69 |
# File 'lib/selenium/webdriver/common/shadow_root.rb', line 67 def to_json(*) JSON.generate as_json end |