Method: Selenium::WebDriver::ShadowRoot#as_json
- Defined in:
- lib/selenium/webdriver/common/shadow_root.rb
#as_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.
For Rails 3 - jonathanjulian.com/2010/04/rails-to_json-or-as_json/
77 78 79 |
# File 'lib/selenium/webdriver/common/shadow_root.rb', line 77 def as_json(*) {ROOT_KEY => @id} end |