method
register_playwright
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::Driver
register_playwright(app)private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/driver.rb, line 67
def register_playwright(app)
screen = { width: @screen_size[0], height: @screen_size[1] } if @screen_size
options = {
screen: screen,
viewport: screen,
**@options
}.compact
Capybara::Playwright::Driver.new(app, **options)
end