Skip to content

Commit af925e9

Browse files
authored
Fix typo that prevents target_info updates (#222)
* Fix typo that prevents target_info updates * Update changlelog
1 parent 9ecfa50 commit af925e9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111

12+
- Fix typo in `Browser._handle_target_update` that prevented target_info updates @puc9
1213
- Fix [#128](https://github.com/cdpdriver/zendriver/issues/218): TimeoutError caused by Tab.xpath @ionutcatana
1314

1415
### Added

zendriver/core/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ async def _handle_target_update(
224224
% (self.targets.index(current_tab), changes_string)
225225
)
226226

227-
current_tab.target = target_info
227+
current_tab.target = target_info
228228

229229
elif isinstance(event, cdp.target.TargetCreated):
230230
target_info = event.target_info

0 commit comments

Comments
 (0)