Skip to content

Conversation

@bbbugg
Copy link
Member

@bbbugg bbbugg commented Jan 23, 2026

Launch browser faster.
启动浏览器更快。

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the popup detection mechanism in the browser initialization flow to use an intelligent polling approach instead of sequential checks with long hard-coded timeouts, significantly improving browser launch performance.

Changes:

  • Replaced sequential popup detection (with up to 35s total timeout) with a unified polling loop that checks all popup types in parallel with a maximum 6-second duration
  • Introduced early exit logic based on consecutive idle iterations to minimize wait time when no popups are present
  • Consolidated popup configuration into a structured array for better maintainability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

bbbugg and others added 2 commits January 23, 2026 09:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bbbugg bbbugg force-pushed the backup/fast-browser branch from 0753260 to e225843 Compare January 24, 2026 12:44
@bbbugg bbbugg merged commit c4eb391 into main Jan 24, 2026
@github-actions
Copy link

🎉 此 PR 的修改已在版本 v0.5.0 中发布。
🎉 The changes in this PR have been released in version v0.5.0.

@iBUHub iBUHub deleted a comment from github-actions bot Jan 24, 2026
@bbbugg bbbugg deleted the backup/fast-browser branch January 27, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants