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.
2 parents de62d2a + b5970d6 commit a0104c8Copy full SHA for a0104c8
CHANGELOG.md
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
10
### Fixed
11
12
+- Fix `AttributeError: 'tuple' object has no attribute 'value'` error in `connection.py` when using headless browser, @slimshreydy
13
+
14
### Added
15
16
### Changed
zendriver/core/connection.py
@@ -505,8 +505,8 @@ async def _prepare_headless(self):
505
allow_unsafe_eval_blocked_by_csp=True,
506
)
507
508
- if response and response.value:
509
- ua = response.value
+ if response and response[0].value:
+ ua = response[0].value
510
await self._send_oneshot(
511
cdp.network.set_user_agent_override(
512
user_agent=ua.replace("Headless", ""),
0 commit comments