Merge pull request #10882 from tchak/playwright-bun
chore(playwright): run playwright using bunx instead of default npx
This commit is contained in:
commit
5cbdfd8677
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ Capybara.register_driver :playwright do |app|
|
|||
browser_type: (ENV['PLAYWRIGHT_BROWSER'] || 'chromium').to_sym, # :chromium (default) or :firefox, :webkit
|
||||
headless: ENV['NO_HEADLESS'].blank?,
|
||||
locale: Rails.application.config.i18n.default_locale,
|
||||
downloadsPath: Capybara.save_path)
|
||||
downloadsPath: Capybara.save_path,
|
||||
playwright_cli_executable_path: 'bunx playwright')
|
||||
end
|
||||
|
||||
Capybara.register_driver :chrome do |app|
|
||||
|
|
Loading…
Reference in a new issue