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

Loading Spinner #177

Open
vishaltaptalent opened this issue Mar 7, 2023 · 0 comments
Open

Loading Spinner #177

vishaltaptalent opened this issue Mar 7, 2023 · 0 comments

Comments

@vishaltaptalent
Copy link

vishaltaptalent commented Mar 7, 2023

I was trying to Scrap some details using cookies but When I am take a screenshot using

  page.goto(url, {
    waitUntil: "networkidle2",
  });
  const profilePageIndicatorSelector = ".pv-top-card";
  await page
    .waitFor(profilePageIndicatorSelector, { timeout: 5000 })
    .catch((err) => {
      console.warn("profile selector was not found because ", err.message);
    });
  await page.screenshot({ path: "example.png" });
  console.warn("Complete");
  

It shows loading bar of Linkedin

example.png

example

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