Class: Puppeteer::Page::JavaScriptExpression

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/page.rb

Instance Method Summary collapse

Constructor Details

#initialize(expression) ⇒ JavaScriptExpression

Returns a new instance of JavaScriptExpression.



873
874
875
# File 'lib/puppeteer/page.rb', line 873

def initialize(expression)
  @expression = expression
end

Instance Method Details

#sourceObject



877
878
879
# File 'lib/puppeteer/page.rb', line 877

def source
  @expression
end