Module: Venetian

Defined in:
lib/venetian.rb,
lib/venetian/gemspec.rb,
lib/venetian/railtie.rb,
lib/venetian/version.rb,
lib/venetian/upstream.rb,
lib/venetian/executable.rb,
lib/venetian/browser_installer.rb,
lib/venetian/browser_runner_extensions.rb,
lib/venetian/system_test_case_extension.rb,
lib/venetian/playwright_create_extensions.rb

Overview

Venetian

Native Playwright driver for Capybara.

Defined Under Namespace

Modules: BrowserRunnerExtensions, Executable, PlaywrightCreateExtensions, SystemTestCaseExtension, Upstream Classes: BrowserInstaller, Error, Railtie

Constant Summary collapse

GEMSPEC =
Gem.loaded_specs.values.reverse.find do |spec|
  spec.gem_dir == Pathname.new(__dir__).join("..", "..").expand_path.to_path
end
VERSION =
"0.2.0"
COMPATIBLE_PLAYWRIGHT_VERSION =
"1.61.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.auto_install_browsersObject

Returns the value of attribute auto_install_browsers.



19
20
21
# File 'lib/venetian.rb', line 19

def auto_install_browsers
  @auto_install_browsers
end

.auto_install_dependenciesObject

Returns the value of attribute auto_install_dependencies.



19
20
21
# File 'lib/venetian.rb', line 19

def auto_install_dependencies
  @auto_install_dependencies
end

Class Method Details

.execute(echo: true) ⇒ Object



27
28
29
# File 'lib/venetian.rb', line 27

def self.execute(*, echo: true, **)
  Executable.execute(*, echo: echo, **)
end

.system(echo: true) ⇒ Object



31
32
33
# File 'lib/venetian.rb', line 31

def self.system(*, echo: true, **)
  Executable.system(*, echo: echo, **)
end