( self, *, # Cloud browser params - use these for cloud mode cloud_profile_id: UUID | str | None = None, cloud_proxy_country_code: ProxyCountryCode | None = None, cloud_timeout: int | None = None, # Backward compatibility aliases profile_id: UUID | str | None = None, proxy_country_code: ProxyCountryCode | None = None, timeout: int | None = None, use_cloud: bool | None = None, cloud_browser: bool | None = None, # Backward compatibility alias cloud_browser_params: CloudBrowserParams | None = None, # Common params that work with cloud id: str | None = None, headers: dict[str, str] | None = None, allowed_domains: list[str] | None = None, prohibited_domains: list[str] | None = None, keep_alive: bool | None = None, minimum_wait_page_load_time: float | None = None, wait_for_network_idle_page_load_time: float | None = None, wait_between_actions: float | None = None, captcha_solver: bool | None = None, auto_download_pdfs: bool | None = None, cookie_whitelist_domains: list[str] | None = None, cross_origin_iframes: bool | None = None, highlight_elements: bool | None = None, dom_highlight_elements: bool | None = None, paint_order_filtering: bool | None = None, max_iframes: int | None = None, max_iframe_depth: int | None = None, )
| 163 | # Overload 1: Cloud browser mode (use cloud-specific params) |
| 164 | @overload |
| 165 | def __init__( |
| 166 | self, |
| 167 | *, |
| 168 | # Cloud browser params - use these for cloud mode |
| 169 | cloud_profile_id: UUID | str | None = None, |
| 170 | cloud_proxy_country_code: ProxyCountryCode | None = None, |
| 171 | cloud_timeout: int | None = None, |
| 172 | # Backward compatibility aliases |
| 173 | profile_id: UUID | str | None = None, |
| 174 | proxy_country_code: ProxyCountryCode | None = None, |
| 175 | timeout: int | None = None, |
| 176 | use_cloud: bool | None = None, |
| 177 | cloud_browser: bool | None = None, # Backward compatibility alias |
| 178 | cloud_browser_params: CloudBrowserParams | None = None, |
| 179 | # Common params that work with cloud |
| 180 | id: str | None = None, |
| 181 | headers: dict[str, str] | None = None, |
| 182 | allowed_domains: list[str] | None = None, |
| 183 | prohibited_domains: list[str] | None = None, |
| 184 | keep_alive: bool | None = None, |
| 185 | minimum_wait_page_load_time: float | None = None, |
| 186 | wait_for_network_idle_page_load_time: float | None = None, |
| 187 | wait_between_actions: float | None = None, |
| 188 | captcha_solver: bool | None = None, |
| 189 | auto_download_pdfs: bool | None = None, |
| 190 | cookie_whitelist_domains: list[str] | None = None, |
| 191 | cross_origin_iframes: bool | None = None, |
| 192 | highlight_elements: bool | None = None, |
| 193 | dom_highlight_elements: bool | None = None, |
| 194 | paint_order_filtering: bool | None = None, |
| 195 | max_iframes: int | None = None, |
| 196 | max_iframe_depth: int | None = None, |
| 197 | ) -> None: ... |
| 198 | |
| 199 | # Overload 2: Local browser mode (use local browser params) |
| 200 | @overload |
no test coverage detected