Skip to content

Commit

Permalink
Merge pull request #74 from qoqa/fix_conntect_to_playwright_server
Browse files Browse the repository at this point in the history
Fix connect to connect_to_playwright_server
  • Loading branch information
YusukeIwaki authored Jul 25, 2024
2 parents b99d383 + da13d54 commit f52551f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/playwright/browser_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(endpoint_url, options)
end

def playwright_execution
@playwright_execution ||= ::Playwright.connect_to_playwright_server(@ws_endpoint)
@playwright_execution ||= ::Playwright.connect_to_playwright_server("#{@ws_endpoint}?browser=#{@browser_type}")
end

def playwright_browser
Expand Down

0 comments on commit f52551f

Please sign in to comment.