Website Screenshot API
同期スクリーンショット
screenshot エンドポイントはブラウザセッションを実行し、JavaScript を実行して、1 回の同期リクエストで base64 エンコードされた画像を返します。
POST
/
v1
/
screenshot
同期スクリーンショット
curl --request POST \
--url https://screenshot.cleariflow.com/v1/screenshot \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"api_key": "<string>",
"session_id": "<string>",
"fingerprint": "<string>",
"render": {},
"render.wait_until": "<string>",
"render.timeout_ms": 123,
"render.post_load_wait_ms": 123,
"render.ignore_https_errors": true,
"render.full_page": true,
"render.screenshot_format": "<string>",
"render.user_agent": "<string>",
"render.viewport": {},
"resources": {},
"resources.block": [
{}
],
"actions": [
{}
],
"actions[].type": "<string>",
"actions[].selector": "<string>",
"actions[].text": "<string>",
"actions[].css": "<string>",
"actions[].to": "<string>",
"actions[].wait_ms": 123,
"cookies": [
{}
],
"capture_full_page": true,
"width": 123,
"height": 123,
"delay": 123,
"css_injection": "<string>",
"export_format": "<string>"
}
'import requests
url = "https://screenshot.cleariflow.com/v1/screenshot"
payload = {
"url": "<string>",
"api_key": "<string>",
"session_id": "<string>",
"fingerprint": "<string>",
"render": {},
"render.wait_until": "<string>",
"render.timeout_ms": 123,
"render.post_load_wait_ms": 123,
"render.ignore_https_errors": True,
"render.full_page": True,
"render.screenshot_format": "<string>",
"render.user_agent": "<string>",
"render.viewport": {},
"resources": {},
"resources.block": [{}],
"actions": [{}],
"actions[].type": "<string>",
"actions[].selector": "<string>",
"actions[].text": "<string>",
"actions[].css": "<string>",
"actions[].to": "<string>",
"actions[].wait_ms": 123,
"cookies": [{}],
"capture_full_page": True,
"width": 123,
"height": 123,
"delay": 123,
"css_injection": "<string>",
"export_format": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
api_key: '<string>',
session_id: '<string>',
fingerprint: '<string>',
render: {},
'render.wait_until': '<string>',
'render.timeout_ms': 123,
'render.post_load_wait_ms': 123,
'render.ignore_https_errors': true,
'render.full_page': true,
'render.screenshot_format': '<string>',
'render.user_agent': '<string>',
'render.viewport': {},
resources: {},
'resources.block': [{}],
actions: [{}],
'actions[].type': '<string>',
'actions[].selector': '<string>',
'actions[].text': '<string>',
'actions[].css': '<string>',
'actions[].to': '<string>',
'actions[].wait_ms': 123,
cookies: [{}],
capture_full_page: true,
width: 123,
height: 123,
delay: 123,
css_injection: '<string>',
export_format: '<string>'
})
};
fetch('https://screenshot.cleariflow.com/v1/screenshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://screenshot.cleariflow.com/v1/screenshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>',
'api_key' => '<string>',
'session_id' => '<string>',
'fingerprint' => '<string>',
'render' => [
],
'render.wait_until' => '<string>',
'render.timeout_ms' => 123,
'render.post_load_wait_ms' => 123,
'render.ignore_https_errors' => true,
'render.full_page' => true,
'render.screenshot_format' => '<string>',
'render.user_agent' => '<string>',
'render.viewport' => [
],
'resources' => [
],
'resources.block' => [
[
]
],
'actions' => [
[
]
],
'actions[].type' => '<string>',
'actions[].selector' => '<string>',
'actions[].text' => '<string>',
'actions[].css' => '<string>',
'actions[].to' => '<string>',
'actions[].wait_ms' => 123,
'cookies' => [
[
]
],
'capture_full_page' => true,
'width' => 123,
'height' => 123,
'delay' => 123,
'css_injection' => '<string>',
'export_format' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://screenshot.cleariflow.com/v1/screenshot"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://screenshot.cleariflow.com/v1/screenshot")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://screenshot.cleariflow.com/v1/screenshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"image_base64": "/9j/4AAQSkZJRg...",
"content_type": "image/jpeg",
"meta": {
"elapsed_ms": 4521
}
}
はじめに
ベース URL
https://screenshot.cleariflow.com/v1/screenshot
リクエスト例
curl -X POST 'https://screenshot.cleariflow.com/v1/screenshot' \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_UNIQUE_API_KEY",
"url": "https://cleariflow.com",
"capture_full_page": true,
"export_format": "jpeg"
}'
{
"ok": true,
"image_base64": "/9j/4AAQSkZJRg...",
"content_type": "image/jpeg",
"meta": {
"elapsed_ms": 4521
}
}
image_base64 をデコードして JPEG または PNG の生バイトを取得します。
レンダリングオプション
render オブジェクトは、スクリーンショット取得前にブラウザがページを読み込む方法を制御します。すべてのフィールドはオプションです — 省略時はサーバーのデフォルト値が適用されます。
"render": {
"wait_until": "networkidle",
"timeout_ms": 60000,
"post_load_wait_ms": 2000,
"ignore_https_errors": false,
"full_page": true,
"screenshot_format": "jpeg",
"user_agent": "Mozilla/5.0 ...",
"viewport": {
"width": 1365,
"height": 768
}
}
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
wait_until | String | domcontentloaded | ナビゲーション完了とみなすタイミング。高速な結果には domcontentloaded;初期 HTML 後に XHR/fetch でデータを読み込むページには networkidle。 |
timeout_ms | Integer | 60000 | ページ読み込み待機の最大時間(ミリ秒)。 |
post_load_wait_ms | Integer | 0 | 取得前の wait_until 後の追加遅延(ミリ秒)。アニメーションや lazy-load コンテンツに有用。 |
ignore_https_errors | Boolean | false | true の場合、ターゲットページの TLS 証明書エラーを無視します。 |
full_page | Boolean | true | true の場合、スクロール可能なページ全体の高さをキャプチャします。 |
screenshot_format | String | jpeg | 出力形式: jpeg または png。 |
user_agent | String | — | ブラウザセッション用のカスタム User-Agent 文字列。 |
viewport | Object | 1365×768 | ピクセル単位の width と height による viewport サイズ。 |
便利フィールド
これらのトップレベルフィールドは、後方互換性とシンプルなリクエストのためにrender と actions にマージされるエイリアスです:
| フィールド | マップ先 | 説明 |
|---|---|---|
capture_full_page | render.full_page | フルページキャプチャの切り替え。 |
width / height | render.viewport | ピクセル単位の viewport 寸法。 |
delay | render.post_load_wait_ms | 取得前の遅延(秒)。 |
export_format | render.screenshot_format | jpeg または png。 |
user_agent | render.user_agent | カスタム User-Agent。 |
css_injection | inject_css アクション | inject_css アクションがない場合に取得前に注入される CSS。 |
curl -X POST 'https://screenshot.cleariflow.com/v1/screenshot' \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_UNIQUE_API_KEY",
"url": "https://cleariflow.com",
"width": 1280,
"height": 720,
"delay": 2,
"export_format": "png"
}'
リソースオプション
resources オブジェクトは、キャプチャ中にブラウザが読み込むアセットタイプを制御します。重いアセットをブロックすると、視覚的な忠実度が許す場合にリクエストが高速化されます。
"resources": {
"block": ["images", "fonts", "media"]
}
| 値 | ブロック対象 |
|---|---|
images | 画像(<img>、CSS 背景) |
fonts | Web フォント |
media | 動画・音声ストリーム |
レガシー GET エンドポイント
GET /v1/ は JSON の代わりに生の画像バイト(JPEG または PNG)を返します。パラメータはクエリ文字列で渡します:
https://screenshot.cleariflow.com/v1/?api_key=YOUR_UNIQUE_API_KEY&url=https://cleariflow.com&capture_full_page=true&export_format=jpeg
url, api_key, session_id, fingerprint, capture_full_page, width, height, delay, css_injection, user_agent, export_format.
リクエストパラメータ
String
必須
キャプチャ対象の URL。公開 HTTP または HTTPS URL である必要があります。localhost およびプライベート IP アドレスへのリクエストは SSRF 保護によりブロックされます。
String
必須
固有の API キー。
String
複数リクエスト間でブラウザ状態(Cookie、local storage)を再利用するためのオプションのセッション識別子。
String
ブラウザフィンガープリントプリセット。サポート値:
desktop_en_us, desktop_ru_ru, mobile_en_us.Object
ブラウザセッションのレンダリングおよびキャプチャオプション。
String
ナビゲーション完了とみなすタイミング。値:
domcontentloaded, networkidle. デフォルト: domcontentloaded.Integer
ページ読み込み待機の最大時間(ミリ秒)。デフォルト: 60000.
Integer
ページ読み込みイベント後、キャプチャ前の追加遅延(ミリ秒)。
Boolean
true の場合、ターゲットページの TLS 証明書エラーを無視します。Boolean
true の場合、スクロール可能なページ全体をキャプチャします。デフォルト: true.String
出力形式:
jpeg または png. デフォルト: jpeg.String
ブラウザセッション用のカスタム User-Agent。
Object
ピクセル単位の
width と height による viewport サイズ。Object
リソース読み込み制御。
Array
ブロックするリソースタイプ。サポート値:
images, fonts, media.Array
キャプチャ前に実行するブラウザアクションの順序付きリスト。各アクションは
type フィールドを持つオブジェクトです。String
必須
アクションタイプ。サポート値:
wait, wait_for, click, type, scroll, inject_css.String
wait_for、click、type アクション用の CSS セレクタ。String
type アクションで入力するテキスト。String
inject_css アクション用の CSS 文字列。String
scroll アクションのスクロール先(例: bottom)。Integer
wait アクションの持続時間(ミリ秒)。Array
ナビゲーション前に注入する Cookie。各 Cookie オブジェクトには
name と value が必要;オプション: domain, path.Boolean
render.full_page の便利エイリアス。Integer
render.viewport.width の便利エイリアス。Integer
render.viewport.height の便利エイリアス。Integer
キャプチャ前の遅延(秒)。
render.post_load_wait_ms にマップされます。String
actions に inject_css がない場合に inject_css アクション経由で注入される CSS。String
render.screenshot_format の便利エイリアス。値: jpeg, png.レスポンスパラメータ
API レスポンスは汎用的で軽量な JSON 形式 で返されます。Boolean
スクリーンショットが正常に完了したかどうか。
String
Base64 エンコードされた画像データ。デコードして JPEG または PNG の生バイトを取得します。
String
画像の MIME タイプ(
image/jpeg または image/png)。Object
経過時間(ミリ秒)を含むキャプチャに関するメタデータ。
Object
ok が false の場合のエラー詳細。⌘I
同期スクリーンショット
curl --request POST \
--url https://screenshot.cleariflow.com/v1/screenshot \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"api_key": "<string>",
"session_id": "<string>",
"fingerprint": "<string>",
"render": {},
"render.wait_until": "<string>",
"render.timeout_ms": 123,
"render.post_load_wait_ms": 123,
"render.ignore_https_errors": true,
"render.full_page": true,
"render.screenshot_format": "<string>",
"render.user_agent": "<string>",
"render.viewport": {},
"resources": {},
"resources.block": [
{}
],
"actions": [
{}
],
"actions[].type": "<string>",
"actions[].selector": "<string>",
"actions[].text": "<string>",
"actions[].css": "<string>",
"actions[].to": "<string>",
"actions[].wait_ms": 123,
"cookies": [
{}
],
"capture_full_page": true,
"width": 123,
"height": 123,
"delay": 123,
"css_injection": "<string>",
"export_format": "<string>"
}
'import requests
url = "https://screenshot.cleariflow.com/v1/screenshot"
payload = {
"url": "<string>",
"api_key": "<string>",
"session_id": "<string>",
"fingerprint": "<string>",
"render": {},
"render.wait_until": "<string>",
"render.timeout_ms": 123,
"render.post_load_wait_ms": 123,
"render.ignore_https_errors": True,
"render.full_page": True,
"render.screenshot_format": "<string>",
"render.user_agent": "<string>",
"render.viewport": {},
"resources": {},
"resources.block": [{}],
"actions": [{}],
"actions[].type": "<string>",
"actions[].selector": "<string>",
"actions[].text": "<string>",
"actions[].css": "<string>",
"actions[].to": "<string>",
"actions[].wait_ms": 123,
"cookies": [{}],
"capture_full_page": True,
"width": 123,
"height": 123,
"delay": 123,
"css_injection": "<string>",
"export_format": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
api_key: '<string>',
session_id: '<string>',
fingerprint: '<string>',
render: {},
'render.wait_until': '<string>',
'render.timeout_ms': 123,
'render.post_load_wait_ms': 123,
'render.ignore_https_errors': true,
'render.full_page': true,
'render.screenshot_format': '<string>',
'render.user_agent': '<string>',
'render.viewport': {},
resources: {},
'resources.block': [{}],
actions: [{}],
'actions[].type': '<string>',
'actions[].selector': '<string>',
'actions[].text': '<string>',
'actions[].css': '<string>',
'actions[].to': '<string>',
'actions[].wait_ms': 123,
cookies: [{}],
capture_full_page: true,
width: 123,
height: 123,
delay: 123,
css_injection: '<string>',
export_format: '<string>'
})
};
fetch('https://screenshot.cleariflow.com/v1/screenshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://screenshot.cleariflow.com/v1/screenshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>',
'api_key' => '<string>',
'session_id' => '<string>',
'fingerprint' => '<string>',
'render' => [
],
'render.wait_until' => '<string>',
'render.timeout_ms' => 123,
'render.post_load_wait_ms' => 123,
'render.ignore_https_errors' => true,
'render.full_page' => true,
'render.screenshot_format' => '<string>',
'render.user_agent' => '<string>',
'render.viewport' => [
],
'resources' => [
],
'resources.block' => [
[
]
],
'actions' => [
[
]
],
'actions[].type' => '<string>',
'actions[].selector' => '<string>',
'actions[].text' => '<string>',
'actions[].css' => '<string>',
'actions[].to' => '<string>',
'actions[].wait_ms' => 123,
'cookies' => [
[
]
],
'capture_full_page' => true,
'width' => 123,
'height' => 123,
'delay' => 123,
'css_injection' => '<string>',
'export_format' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://screenshot.cleariflow.com/v1/screenshot"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://screenshot.cleariflow.com/v1/screenshot")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://screenshot.cleariflow.com/v1/screenshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"api_key\": \"<string>\",\n \"session_id\": \"<string>\",\n \"fingerprint\": \"<string>\",\n \"render\": {},\n \"render.wait_until\": \"<string>\",\n \"render.timeout_ms\": 123,\n \"render.post_load_wait_ms\": 123,\n \"render.ignore_https_errors\": true,\n \"render.full_page\": true,\n \"render.screenshot_format\": \"<string>\",\n \"render.user_agent\": \"<string>\",\n \"render.viewport\": {},\n \"resources\": {},\n \"resources.block\": [\n {}\n ],\n \"actions\": [\n {}\n ],\n \"actions[].type\": \"<string>\",\n \"actions[].selector\": \"<string>\",\n \"actions[].text\": \"<string>\",\n \"actions[].css\": \"<string>\",\n \"actions[].to\": \"<string>\",\n \"actions[].wait_ms\": 123,\n \"cookies\": [\n {}\n ],\n \"capture_full_page\": true,\n \"width\": 123,\n \"height\": 123,\n \"delay\": 123,\n \"css_injection\": \"<string>\",\n \"export_format\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"image_base64": "/9j/4AAQSkZJRg...",
"content_type": "image/jpeg",
"meta": {
"elapsed_ms": 4521
}
}