Skip to content

Alternative to exposedFunction to expose doms for document.querySelectorAll within page.evaluate() context? #5192

Closed

Description

@adamchenwei

Its an extension of #724
Because I want to be able to import code instead of writing everything within page.evaluate() block. But exposedFunction does not expose the browser context to the function exposed.

Any idea?

Activity

  1. stale commented on Jun 27, 2022

    @stale

    We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

  2. stale commented on Jul 27, 2022

    @stale

    We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions