Module: Capybara::Lightpanda

Defined in:
lib/capybara-lightpanda.rb,
lib/capybara/lightpanda/node.rb,
lib/capybara/lightpanda/frame.rb,
lib/capybara/lightpanda/binary.rb,
lib/capybara/lightpanda/client.rb,
lib/capybara/lightpanda/driver.rb,
lib/capybara/lightpanda/errors.rb,
lib/capybara/lightpanda/logger.rb,
lib/capybara/lightpanda/browser.rb,
lib/capybara/lightpanda/cookies.rb,
lib/capybara/lightpanda/network.rb,
lib/capybara/lightpanda/options.rb,
lib/capybara/lightpanda/process.rb,
lib/capybara/lightpanda/version.rb,
lib/capybara/lightpanda/keyboard.rb,
lib/capybara/lightpanda/utils/event.rb,
lib/capybara/lightpanda/xpath_polyfill.rb,
lib/capybara/lightpanda/client/subscriber.rb,
lib/capybara/lightpanda/client/web_socket.rb

Defined Under Namespace

Modules: Utils, XPathPolyfill Classes: Binary, BinaryError, BinaryNotFoundError, Browser, BrowserError, Client, Cookies, DeadBrowserError, Driver, Error, Frame, InvalidSelector, JavaScriptError, Keyboard, Logger, MouseEventFailed, Network, NoExecutionContextError, NoSuchPageError, Node, NodeNotFoundError, ObsoleteNode, Options, Process, ProcessTimeoutError, StatusError, TimeoutError, UnsupportedPlatformError

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configure {|options| ... } ⇒ Object

Yields:



25
26
27
# File 'lib/capybara-lightpanda.rb', line 25

def configure
  yield(options) if block_given?
end

.optionsObject



29
30
31
# File 'lib/capybara-lightpanda.rb', line 29

def options
  @options ||= Options.new
end

.reset_options!Object



33
34
35
# File 'lib/capybara-lightpanda.rb', line 33

def reset_options!
  @options = nil
end