Method: Selenium::WebDriver::DevTools::PinnedScript#to_json

Defined in:
lib/selenium/webdriver/devtools/pinned_script.rb

#to_jsonObject

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.

API:

  • private



43
44
45
# File 'lib/selenium/webdriver/devtools/pinned_script.rb', line 43

def to_json(*)
  %{"return __webdriver_#{key}(arguments)"}
end