Skip to content

reload page if browser window id not found and try again#96

Merged
zizhengtai merged 4 commits into
mainfrom
volodymyr/fix-random-missing-browser-id-error
Apr 28, 2026
Merged

reload page if browser window id not found and try again#96
zizhengtai merged 4 commits into
mainfrom
volodymyr/fix-random-missing-browser-id-error

Conversation

@volodymyr-narada

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sometimes it does not detect the browser window id even thought it is visible on the cloud session replay. In such cases reloading the page helps.

The default timeout is 30s, I put 8s in a loop of max 5 retries which would give us 45s max (8*5 + 5 sleep second). On practice, it takes 1-2 iterations (8-16 seconds), so this is better to reload each 8 seconds instead of reloading after default 30s.

@zizhengtai zizhengtai merged commit a4bf2f7 into main Apr 28, 2026
4 checks passed
@zizhengtai zizhengtai deleted the volodymyr/fix-random-missing-browser-id-error branch April 28, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants