Class: PlaywrightOnRails::Open

Inherits:
Object
  • Object
show all
Defined in:
lib/playwright-on-rails/open.rb

Instance Method Summary collapse

Constructor Details

#initializeOpen

Returns a new instance of Open.



6
7
8
# File 'lib/playwright-on-rails/open.rb', line 6

def initialize
  @launches_playwright = LaunchesPlaywright.new
end

Instance Method Details

#call(config = Config.new) ⇒ Object



10
11
12
# File 'lib/playwright-on-rails/open.rb', line 10

def call(config = Config.new)
  @launches_playwright.call("test --ui", config)
end