-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Element is not found for click #2037
Comments
I guess |
Ok I thought I saw somewhere in the code that playwright click tries to force a hover, but I was probably mistaken. |
Just in case it helps, using the 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("a[href=\"/en/product/connect/\"]");
await page.click("text=Connect your apps for free");
})(); |
Thank you 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context:
Code Snippet
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
The text was updated successfully, but these errors were encountered: