Class: Capybara::Apparition::DevToolsProtocol::RemoteObject

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara/apparition/dev_tools_protocol/remote_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(page, params) ⇒ RemoteObject

Returns a new instance of RemoteObject.



8
9
10
11
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 8

def initialize(page, params)
  @params = params
  @page = page
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



6
7
8
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 6

def params
  @params
end

Instance Method Details

#valueObject



13
14
15
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 13

def value
  cyclic_checked_value({})
end