Skip to content

Loading Spinner  #177

@vishaltaptalent

Description

@vishaltaptalent

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

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