Skip to content

[BUG] webkit evaluate promise never returns / fails #5851

Closed

Description

Context:

  • Playwright Version: 1.9.2
  • Operating System: Linux + Mac
  • Node.js version: 15.10.0
  • Browser: Webkit

Code Snippet

const {webkit} = require('playwright');

(async () => {
  const browser = await webkit();
  const page = await browser.newPage();
  await page.goto('https://google.com')
  await page.evaluate((uri) => Promise.resolve(uri), 'test')
  // ... never finishes
})();

Describe the bug

I've tested this on linux and mac, headless and non-headless. Webkit never returns from any of them. Firefox seems to work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions