We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0957d commit 32614cfCopy full SHA for 32614cf
devtools/browser.py
@@ -180,8 +180,12 @@ async def create_session(self):
180
raise RuntimeError(
181
"There is no eventloop, or was not passed to browser. Cannot use async methods"
182
)
183
+ warnings.warn(
184
+ "This method only works with some versions of Chrome, it is experimental"
185
+ )
186
response = await self.browser.send_command(
- "Target.attachToBrowserTarget", params=dict(targetId=self.target_id, flatten=True)
187
+ "Target.attachToBrowserTarget",
188
+ params=dict(targetId=self.target_id, flatten=True),
189
190
if "error" in response:
191
raise RuntimeError("Could not create session") from Exception(
0 commit comments