Skip to content

Commit

Permalink
Add the "ip_country_code" option
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Apr 1, 2024
1 parent 40ac456 commit fc48b44
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/TakeOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit fc48b44

Please sign in to comment.