Skip to content

Page crashes using Webkit engine with Playwright helper #3081

Closed
@klepik1990

Description

@klepik1990

What are you trying to achieve?

Test fails on simple actions, e.g. amOnPage(), fillField etc.

What do you get instead?

This issue reproduce only with Webkit engine. The page freezes for a short time and then browser closes with the error.

    I fill field "//input[@id="currency_id"]", "US Dollar (Same day) " ----- this step fails(but it can fails on different actions)
    [1] Retrying... Attempt #2
    [1] Retrying... Attempt #3
    [1] Retrying... Attempt #4
    [1] Retrying... Attempt #5
    [1] Retrying... Attempt #6
    [1] Error | Error: page.$$: Target crashed
    [1] Error | Error: page.$$: Target crashed
    [1] Error | Error: page.$$: Target crashed
    [1] Error | Error: page.$$: Target crashed
    [1] Error | Error: page.$$: Target crashed
    [1] Error | Error: page.$$: Target crashed
    [1] Starting <teardown> session
    [1] <teardown> Stopping recording promises
 » <screenshotOnFail> Test failed, try to save a screenshot
 » <Error: page.screenshot: Target crashed> 

Details

  • CodeceptJS version: 3.1.3
  • NodeJS Version: 14.18.0
  • Operating System: Windows 10
  • puppeteer || webdriverio || testcafe version (if related): Playwright 1.15.2
  • Configuration file:
    Playwright: {
    waitForNavigation: 'networkidle0',
    waitForTimeout: 5000,
    waitForAction: 150,
    windowSize: '1920x1080',
    restart: false,
    url: BASE_URL,
    show: true,
    browser: 'webkit',
    },
    IMPORTANT: Issue reproduces on Playwright >1.13.* versions

Metadata

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