Skip to content
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

TimeoutError: Timeout waiting for child-tab-created #487

Open
mehrdad-shokri opened this issue Jun 30, 2024 · 0 comments
Open

TimeoutError: Timeout waiting for child-tab-created #487

mehrdad-shokri opened this issue Jun 30, 2024 · 0 comments

Comments

@mehrdad-shokri
Copy link

Hello, I'm trying to open a new tab for each scrape, but getting error TimeoutError: Timeout waiting for child-tab-created. The call await hero.waitForNewTab() actually succedes but call await newTab.goto(url, {timeoutMs: 20000}) times out. Here is the code sample:

  const newTab = await hero.waitForNewTab();
  console.log('opened new tab');
  const page = await newTab.goto(url, {timeoutMs: 20000});
  const content = await page.text;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant