YusukeIwaki/playwright-ruby-client

Firefox bug

Closed this issue · 3 comments

I tested firefox browser and got issue

Playwright::Error (Error: Navigation failed because page crashed!
=========================== logs ===========================
navigating to "https://be.oui.sncf/en", waiting until "load"
============================================================
Note: use DEBUG=pw:api environment variable to capture Playwright logs.):

Can you please check on your side?

Could you describe how to reproduce the issue?

I tried this and worked as expected.

  playwright.firefox.launch(headless: false) do |browser|
    page = browser.new_page
    page.goto('https://be.oui.sncf/en')
    puts "DONE"
  end
Playwright.create(playwright_cli_executable_path: './node_modules/.bin/playwright') do |playwright|
      context = playwright.firefox
      context.launch(headless: false) do |browser|
        page = browser.new_page
        page.goto @url, timeout: 60000
      end
    end

Can you please try this?

Not reproducable...