Class: Selenium::WebDriver::DevTools::PinnedScript
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rb/lib/selenium/webdriver/devtools/pinned_script.rb |
Class Method Summary
- .new(script) ⇒ PinnedScript constructor
Instance Attribute Summary
- #devtools_identifier rw
- #key rw
- #script rw
Instance Method Summary
Constructor Details
.new(script) ⇒ PinnedScript
Instance Attribute Details
#devtools_identifier (rw)
[ GitHub ]#key (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/devtools/pinned_script.rb', line 24
attr_accessor :key, :devtools_identifier, :script
#script (rw)
[ GitHub ]# File 'rb/lib/selenium/webdriver/devtools/pinned_script.rb', line 24
attr_accessor :key, :devtools_identifier, :script
Instance Method Details
#callable
This method is for internal use only.
[ GitHub ]
#remove
This method is for internal use only.
[ GitHub ]
# File 'rb/lib/selenium/webdriver/devtools/pinned_script.rb', line 51
def remove "__webdriver_#{key} = undefined" end
#to_json
This method is for internal use only.
[ GitHub ]
# File 'rb/lib/selenium/webdriver/devtools/pinned_script.rb', line 43
def to_json(*) %{"return __webdriver_#{key}(arguments)"} end