Module: Capybara::Poltergeist

Defined in:
lib/capybara/poltergeist.rb,
lib/capybara/poltergeist/json.rb,
lib/capybara/poltergeist/node.rb,
lib/capybara/poltergeist/client.rb,
lib/capybara/poltergeist/cookie.rb,
lib/capybara/poltergeist/driver.rb,
lib/capybara/poltergeist/errors.rb,
lib/capybara/poltergeist/server.rb,
lib/capybara/poltergeist/browser.rb,
lib/capybara/poltergeist/utility.rb,
lib/capybara/poltergeist/version.rb,
lib/capybara/poltergeist/inspector.rb,
lib/capybara/poltergeist/network_traffic.rb,
lib/capybara/poltergeist/web_socket_server.rb

Defined Under Namespace

Modules: JSON, NetworkTraffic Classes: Browser, BrowserError, Client, ClientError, Cookie, DeadClient, Driver, Error, FrameNotFound, Inspector, InvalidSelector, JSErrorItem, JavascriptError, MouseEventFailed, NoSuchWindowError, Node, NodeError, ObsoleteNode, PhantomJSFailed, PhantomJSTooOld, Server, StatusFailError, TimeoutError, WebSocketServer

Constant Summary collapse

VERSION =
"1.6.0"

Class Method Summary collapse

Class Method Details

.windows?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/capybara/poltergeist/utility.rb', line 4

def windows?
  RbConfig::CONFIG["host_os"] =~ /mingw|mswin|cygwin/
end