Fix screenshot endpoint example to use URL instead of HTML#27784
Merged
kathayl merged 1 commit intoproductionfrom Jan 23, 2026
Merged
Fix screenshot endpoint example to use URL instead of HTML#27784kathayl merged 1 commit intoproductionfrom
kathayl merged 1 commit intoproductionfrom
Conversation
Contributor
|
This PR requires additional review attention because it affects the following areas: PartialsThis PR updates partial files, which are pieces of content used across multiple files in our Render component.
|
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
|
Preview URL: https://22a1300e.preview.developers.cloudflare.com |
ToriLindsay
approved these changes
Jan 22, 2026
The example-screenshot-from-url.mdx partial was incorrectly using the 'html' parameter instead of 'url' parameter since its creation. This fixes the example to properly demonstrate taking a screenshot from a URL as the section title indicates.
8b9959b to
22a1300
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
example-screenshot-from-url.mdxpartial file was incorrectly using thehtmlparameter instead of theurlparameter since its creation on September 15, 2025.This PR fixes the example under the "Take a screenshot from a URL" section to properly demonstrate taking a screenshot from a URL.
Changes
src/content/partials/browser-rendering/example-screenshot-from-url.mdxfrom usinghtml: 'Hello World!'tourl: 'https://workers.cloudflare.com/product/browser-rendering/'screenshotOptionsparameter to keep the example simple and focused on the URL usageInvestigation
Checked git history and confirmed this was wrong from the start - the file was never correct.