Sha256: be8dc51502de945623a68e826fc74866b584f788aff1b0149438b173d7aef0e3
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
module Capybara class Session def reset! # Next line is a work around for issue https://github.com/jnicklas/capybara/issues/1237 if @touched && driver.browser_initialized? driver.reset! assert_no_selector(:xpath, "/html/body/*") @touched = false end raise_server_error! end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appium_capybara-0.0.3 | lib/appium_capybara/ext/session_ext.rb |
appium_capybara-0.0.2 | lib/appium_capybara/ext/session_ext.rb |
appium_capybara-0.0.1 | lib/appium_capybara/ext/session_ext.rb |