From fc48b4486ff1234d4247cb4ede1e8256f0f01731 Mon Sep 17 00:00:00 2001 From: Dmytro Krasun Date: Mon, 1 Apr 2024 11:20:52 +0300 Subject: [PATCH] Add the "ip_country_code" option --- src/TakeOptions.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/TakeOptions.php b/src/TakeOptions.php index 6814928..d588364 100644 --- a/src/TakeOptions.php +++ b/src/TakeOptions.php @@ -73,6 +73,16 @@ public function errorOnSelectorNotFound(bool $errorOn) return $this; } + /** + * You can use data center proxies provided by ScreenshotOne to take screenshots from different countries. + */ + public function ipCountryCode(string $ipCountryCode) + { + $this->put("ip_country_code", $ipCountryCode); + + return $this; + } + /** * Styles specifies custom CSS styles for the page. */