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

Support page content #61

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Conversation

mfeckie
Copy link
Contributor

@mfeckie mfeckie commented Aug 30, 2024

Playwright provides a .content() function allowing retrieval of the a page's HTML. https://playwright.dev/docs/api/class-frame#frame-content

This was missing in playwright-elixir, but looks like there was some intent to support it as there was commented out code in frame.ex.

I've added the implementation and a test.

@coreyti
Copy link
Member

coreyti commented Sep 26, 2024

Looks good, @mfeckie. Thanks for your contribution!

@coreyti coreyti merged commit ba27dea into mechanical-orchard:main Sep 26, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants