testing-examples: adapt image capture example to duckduckgo redesign - #1582
Merged
Merged
Conversation
The duckduckgo homepage search box is now a textarea inside the new AI searchbox (the old searchbox_input id moved to the chat box), so the input[...] selector matched nothing and every CI run failed in the capture screenshot scenario. The results page selectors still work. Assisted-by: Claude:claude-fable-5
MykolaGolubyev
approved these changes
Aug 23, 2026
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.
The
capture screenshot (imageCapture.groovy)webtau example fails on every CI run — including unrelated PRs such as the dependabot bump in run 32409696265 — because the duckduckgo homepage was redesigned: the search box is now a<textarea class="search-input_searchInput__…">inside the new AI searchbox, so the example'sinput[class*="searchbox_input"], input[class*="search-input"]selector matches nothing (the oldsearchbox_inputid now sits on the chat box). Master still shows green only becauseci-buildlast ran there at the 1.91 release.This prepends
textarea[class*="search-input"]to the selector list, keeping the old variants. Verified locally against live duckduckgo: the full flow passes — search submit via enter on the textarea, the results-page selectors (#search_form_input,article[data-testid="result"]) unchanged, and the annotatedduckduckgo-searchscreenshot regenerates.Unblocks CI for #1580 and any other open PR.
Assisted-by: Claude:claude-fable-5