Skip to content

Add support for file downloads#39

Open
tylerhunt wants to merge 1 commit intoftes:mainfrom
tylerhunt:file-downloads
Open

Add support for file downloads#39
tylerhunt wants to merge 1 commit intoftes:mainfrom
tylerhunt:file-downloads

Conversation

@tylerhunt
Copy link
Copy Markdown

Add PlaywrightEx.Download and PlaywrightEx.DownloadWaiter to handle file downloads.

Example:

{:ok, download_ref} = Page.expect_download(page.guid, timeout: @timeout)
{:ok, _} = Frame.click(frame.guid, selector: Selector.link("Download"), timeout: @timeout)
{:ok, path} = Page.await_download(download_ref)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant