The fastest browser for AI agents to run browser automation, built for sharing your logged-in browser state with your AI agents, like Codex or Claude Code, without disturbing you. Zero cost, zero config.
JavaScript agent-skillsai-agentautomationbrowserbrowser-automationclaude-codecodexhermes-agentskillsskills-sh
test(ego-browser): match the PDF viewer download icon on Chromium 154
Zhuowei Wang63beed697837
diff --git a/package/ego-browser/scripts/real-browser-e2e/cases/page-download.mjs b/package/ego-browser/scripts/real-browser-e2e/cases/page-download.mjsindex fab494c..13000be 100644--- a/package/ego-browser/scripts/real-browser-e2e/cases/page-download.mjs+++ b/package/ego-browser/scripts/real-browser-e2e/cases/page-download.mjs@@ -214,8 +214,10 @@ export function pagePdfViewerDownloadCase() {"the file link opens the PDF in a new Page instead of downloading");// Chromium's download icon identifies the button across locales and toolbar order,- // independently of ref/locator metadata printed beside snapshot buttons.- const downloadButton = "loc=css:cr-icon-button#save[iron-icon='cr:file-download']";+ // independently of ref/locator metadata printed beside snapshot buttons. The icon+ // is cr:file-download before Chromium 154 and cr:download after; "Save to Google+ // Drive" also uses #save, so match the icon suffix rather than the id alone.+ const downloadButton = "loc=css:cr-icon-button#save[iron-icon$='download']";await preview.waitForSelector(downloadButton, {state: "visible",timeout: 10_000,