Module: Capybara::Apparition
- Defined in:
- lib/capybara/apparition.rb,
lib/capybara/apparition/node.rb,
lib/capybara/apparition/page.rb,
lib/capybara/apparition/cookie.rb,
lib/capybara/apparition/driver.rb,
lib/capybara/apparition/errors.rb,
lib/capybara/apparition/browser.rb,
lib/capybara/apparition/console.rb,
lib/capybara/apparition/utility.rb,
lib/capybara/apparition/version.rb,
lib/capybara/apparition/inspector.rb,
lib/capybara/apparition/node/drag.rb,
lib/capybara/apparition/cookie_jar.rb,
lib/capybara/apparition/page/frame.rb,
lib/capybara/apparition/page/mouse.rb,
lib/capybara/apparition/browser/auth.rb,
lib/capybara/apparition/browser/frame.rb,
lib/capybara/apparition/browser/modal.rb,
lib/capybara/apparition/configuration.rb,
lib/capybara/apparition/page/keyboard.rb,
lib/capybara/apparition/browser/cookie.rb,
lib/capybara/apparition/browser/header.rb,
lib/capybara/apparition/browser/render.rb,
lib/capybara/apparition/browser/window.rb,
lib/capybara/apparition/driver/launcher.rb,
lib/capybara/apparition/driver/response.rb,
lib/capybara/apparition/network_traffic.rb,
lib/capybara/apparition/page/frame_manager.rb,
lib/capybara/apparition/browser/page_manager.rb,
lib/capybara/apparition/driver/chrome_client.rb,
lib/capybara/apparition/driver/web_socket_client.rb,
lib/capybara/apparition/dev_tools_protocol/session.rb,
lib/capybara/apparition/dev_tools_protocol/remote_object.rb
Defined Under Namespace
Modules: DevToolsProtocol, Drag, NetworkTraffic
Classes: Browser, BrowserError, CDPError, ChromeClient, ClientError, Configuration, Console, Cookie, CookieJar, DeadClient, Driver, Error, Frame, FrameManager, FrameNotFound, Inspector, InvalidResponseError, InvalidSelector, JSErrorItem, JavascriptError, KeyError, Keyboard, Mouse, MouseEventFailed, MouseEventImpossible, NoSuchWindowError, Node, NodeError, ObsoleteNode, Page, ScriptTimeoutError, Socket, StatusFailError, TimeoutError, UnsupportedFeature, WebSocketClient, WrongWorld
Constant Summary
collapse
- NodeNotAttachedError =
ObsoleteNode
- ClickFailed =
MouseEventFailed
- VERSION =
'0.5.0'
Class Method Summary
collapse
Class Method Details
.mri? ⇒ Boolean
10
11
12
|
# File 'lib/capybara/apparition/utility.rb', line 10
def mri?
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
end
|
.windows? ⇒ Boolean
6
7
8
|
# File 'lib/capybara/apparition/utility.rb', line 6
def windows?
RbConfig::CONFIG['host_os'].match?(/mingw|mswin|cygwin/)
end
|