Class: Puppeteer::Bidi::NewDocumentScriptEvaluation
- Inherits:
-
Object
- Object
- Puppeteer::Bidi::NewDocumentScriptEvaluation
- Defined in:
- lib/puppeteer/bidi/page.rb,
sig/puppeteer/bidi/page.rbs
Overview
Result of evaluateOnNewDocument containing the script identifier. Can be used to remove the script later.
Instance Attribute Summary collapse
-
#identifier ⇒ String
readonly
: String.
Instance Method Summary collapse
-
#initialize(identifier) ⇒ NewDocumentScriptEvaluation
constructor
A new instance of NewDocumentScriptEvaluation.
Constructor Details
#initialize(identifier) ⇒ NewDocumentScriptEvaluation
Returns a new instance of NewDocumentScriptEvaluation.
1733 1734 1735 |
# File 'lib/puppeteer/bidi/page.rb', line 1733 def initialize(identifier) @identifier = identifier end |
Instance Attribute Details
#identifier ⇒ String (readonly)
: String
1729 1730 1731 |
# File 'lib/puppeteer/bidi/page.rb', line 1729 def identifier @identifier end |