Class: Capybara::AsyncRunner::JsBuilder::RawResult
- Inherits:
-
Struct
- Object
- Struct
- Capybara::AsyncRunner::JsBuilder::RawResult
- Defined in:
- lib/capybara/async_runner/js_builder.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
37 38 39 40 41 |
# File 'lib/capybara/async_runner/js_builder.rb', line 37 def fetch ::AsyncRunner::WaitHelper.wait_until(2) do .current_session.evaluate_script(result_code) end end |
#result_code ⇒ Object
43 44 45 |
# File 'lib/capybara/async_runner/js_builder.rb', line 43 def result_code "window.Capybara[#{uuid.inspect}]" end |