Skip to content

[BUG] Element is not found for click #2037

@jperl

Description

@jperl

Context:

  • Playwright Version: 0.15.0
  • Operating System: Mac
  • Node version: [e.g. 10.12, 10.14]
  • Browser: Chromium

Code Snippet

const playwright = require("playwright");

(async () => {
  const browser = await playwright.chromium.launch({ headless: false });
  const page = await browser.newPage();
  await page.goto("https://appannie.com/");
  await page.click("text=Products");
  await page.click("css=div:nth-of-type(6) >> text=Connect");
  await page.click("text=Connect your apps for free");
})();

Screen Shot 2020-04-29 at 2 29 45 PM

Describe the bug

The selector is not clicked on. When you manually hover over the menu the click proceeds.

TimeoutError: waiting for selector "css=div:nth-of-type(6) >> text=Connect" failed: timeout exceeded

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