Skip to content

[BUG] [Codegen] Page click recorded as click + goto #5617

Closed

Description

Context:

  • Playwright Version: 1.9.0
  • Operating System: macOS
  • Browser: Chromium

Repro steps

  1. Start recording actions on the microsoft/playwright github page
  2. Click on pull requests
  3. Expect to see click in the generated output. Actual has click + goto:
  // Click text=Pull requests
  await page.click('text=Pull requests');
  // assert.equal(page.url(), 'https://github.com/microsoft/playwright/pulls');

  // Go to https://github.com/microsoft/playwright/pulls
  await page.goto('https://github.com/microsoft/playwright/pulls');
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