Skip to content

Fix debug_url for the latest version of Chrome #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 11, 2025

Conversation

Jell
Copy link
Contributor

@Jell Jell commented Apr 9, 2025

the first commit introduces a regression spec that fails in the CI on the latest version of Chrome, the second commit addresses the issue.

solves: #296

The fix should work with both old and new versions of chrome, thus making it a non-breaking change.

there was already a unit test exercising the logic, but no feature
test actually running against a real browser instance.

expecting this spec to fail on the latest version of chrome.
@Jell Jell force-pushed the fix-debug-url-for-latest-chrome branch 3 times, most recently from e154f86 to 9329405 Compare April 10, 2025 17:27
it appears that devtoolsFrontendUrl returns a fully qualified URL in
the latest version of Chrome, so it should be returned as-is without
prepending anything to it.
@Jell Jell force-pushed the fix-debug-url-for-latest-chrome branch from 9329405 to 5137e30 Compare April 10, 2025 17:33
@friendlyantz
Copy link

Nice, great job. was following through EvilMartian Vladimir setup up for better specs and was tearing my hair until I saw the Issues Page.
ShipIt 🚢

@route route merged commit bb70a10 into rubycdp:main May 11, 2025
6 checks passed
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.

3 participants