File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 39
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-408a8168129bbbfe0765ea970bbc970a0a292d2e3b9433a6c7d592c7d157f4db .yml
3- openapi_spec_hash : cb153e5bd0346af47e3034ee47782507
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs/steel-d991a5b78d24cff371af5796c338f67164fee6101f40a3e5a7c08f9f77e8c2f1 .yml
3+ openapi_spec_hash : bc044a3ec1a4702295ef4dadeecd7739
44config_hash : dce4dea59023b0a00890fa654fbfffb4
Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ def create(
126126 device_config: Device configuration for the session. Specify 'mobile' for mobile device
127127 fingerprints and configurations.
128128
129- dimensions: Viewport and browser window dimensions for the session
129+ dimensions: Viewport and browser window dimensions for the session. Mobile sessions require
130+ dimensions of at least 508x1074; smaller mobile dimensions are rejected with a
131+ 400 response.
130132
131133 experimental_features: Enable experimental features for the session.
132134
@@ -938,7 +940,9 @@ async def create(
938940 device_config: Device configuration for the session. Specify 'mobile' for mobile device
939941 fingerprints and configurations.
940942
941- dimensions: Viewport and browser window dimensions for the session
943+ dimensions: Viewport and browser window dimensions for the session. Mobile sessions require
944+ dimensions of at least 508x1074; smaller mobile dimensions are rejected with a
945+ 400 response.
942946
943947 experimental_features: Enable experimental features for the session.
944948
Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ class SessionCreateParams(TypedDict, total=False):
5656 """
5757
5858 dimensions : Dimensions
59- """Viewport and browser window dimensions for the session"""
59+ """Viewport and browser window dimensions for the session.
60+
61+ Mobile sessions require dimensions of at least 508x1074; smaller mobile
62+ dimensions are rejected with a 400 response.
63+ """
6064
6165 experimental_features : Annotated [SequenceNotStr [str ], PropertyInfo (alias = "experimentalFeatures" )]
6266 """Enable experimental features for the session."""
@@ -177,7 +181,10 @@ class DeviceConfig(TypedDict, total=False):
177181
178182
179183class Dimensions (TypedDict , total = False ):
180- """Viewport and browser window dimensions for the session"""
184+ """Viewport and browser window dimensions for the session.
185+
186+ Mobile sessions require dimensions of at least 508x1074; smaller mobile dimensions are rejected with a 400 response.
187+ """
181188
182189 height : Required [int ]
183190 """Height of the session"""
You can’t perform that action at this time.
0 commit comments