Skip to content

Commit

Permalink
Update api_request_context.ex w/ placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyti authored May 25, 2024
1 parent e13ebff commit 868ca56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/playwright/api_request_context.ex
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ defmodule Playwright.APIRequestContext do
# @spec storage_state(t(), options()) :: StorageState.t()
# def storage_state(context, options \\ %{})

# TODO: move to A`PIResponse.body`, probably.
@spec body(t(), Playwright.APIResponse.t()) :: any()
def body(%APIRequestContext{session: session} = context, response) do
Channel.post(session, {:guid, context.guid}, :fetch_response_body, %{
Expand Down

0 comments on commit 868ca56

Please sign in to comment.