proxy_server?: string - Proxy server URL to route the session through.
proxy_server_username?: string - Username for proxy server authentication.
proxy_server_password?: string - Password for proxy server authentication.
proxy_country?: - Desired proxy country.
proxy_state?: - Desired State. Is mutually exclusive with proxy_city. Currently only US states are supported. States need to be in two letter codes
proxy_city?: string - Desired City. Is mutually exclusive with proxy_state. Some cities might not be supported, so before using a new city, we recommend trying it out.
operating_systems?: [] - Preferred operating systems for the session. Possible values are:
platform?: [] - Preferred browser platforms. Possible values are:
Platform.CHROME
Platform.FIREFOX
Platform.SAFARI
Platform.EDGE
locales?: [] - Preferred locales (languages) for the session. Use ISO 639-1 codes.
screen?: - Screen configuration for the session.
width: number - Screen width.
height: number - Screen height.
solve_captchas?: boolean - Solve captchas.
adblock?: boolean - Block ads.
trackers?: boolean - Block trackers.
annoyances?: boolean - Block annoyances.
enable_web_recording?: boolean - Default true
extension_ids?: string[] - Array of extension Ids
accept_cookies?: boolean - Automatically Accept Cookies on the page
url_blocklist?: string[]
browser_args?: string[]
imageCaptchaParams?: - Specify the image selectors and input box selectors to be used for solving standard image based captchas. Captchas will get solved, but accept/verify will have to be clicked by the user/script.
class SessionListResponse(BaseModel):
sessions: List[Session]
total_count: int = Field(alias="totalCount")
page: int
per_page: int = Field(alias="perPage")
ScreenConfig
class ScreenConfig(BaseModel):
width: int = Field(default=1280, serialization_alias="width")
height: int = Field(default=720, serialization_alias="height")