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

WaitForFunction #10

Open
fduarte42 opened this issue Aug 20, 2019 · 1 comment
Open

WaitForFunction #10

fduarte42 opened this issue Aug 20, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fduarte42
Copy link
Contributor

Hi,

it would be nice to be able to define a "waitForFunction" as an option:

await page.waitForFunction(
'document.querySelector("body").innerText.includes("Hello Ajahne")'
);

@spiritix
Copy link
Owner

Thanks for the suggestion. Ideally we would provide a generic API to access Puppeteer functions. Will think about how this could be implemented.

@spiritix spiritix added enhancement New feature or request help wanted Extra attention is needed labels Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants