Skip to content

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeckie committed Aug 30, 2024
1 parent 23920e8 commit bf7a47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/playwright/page.ex
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ defmodule Playwright.Page do
Channel.find(session, {:guid, page.parent.guid})
end

@spec content(t()) :: binary()
@spec content(t()) :: binary() | {:error, term()}
def content(%Page{} = page) do
main_frame(page) |> Frame.content()
end
Expand Down

0 comments on commit bf7a47a

Please sign in to comment.