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.



862
863
864
# File 'lib/puppeteer/page.rb', line 862

def initialize(expression)
  @expression = expression
end

Instance Method Details

#sourceObject



866
867
868
# File 'lib/puppeteer/page.rb', line 866

def source
  @expression
end