From 868ca566400ee9483574f74de808310c49962e9d Mon Sep 17 00:00:00 2001 From: Corey Innis Date: Fri, 24 May 2024 18:17:26 -0700 Subject: [PATCH] Update api_request_context.ex w/ placeholders --- lib/playwright/api_request_context.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/playwright/api_request_context.ex b/lib/playwright/api_request_context.ex index 84993a8d..c512e0cf 100644 --- a/lib/playwright/api_request_context.ex +++ b/lib/playwright/api_request_context.ex @@ -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, %{