While Sentient is attached to the user's browser over CDP, a file the user downloads in their own tab doesn't reach their Downloads folder. Playwright's default for an attached browser saves it under its own temp folder (playwright-artifacts-*) with a random name, and that folder is deleted when Sentient disconnects. Seen in the real test of #202, and it already happens on main.
Fix: when attaching, leave the browser's own download behaviour alone for tabs Sentient didn't open, for example by setting Browser.setDownloadBehavior back to default for the user's context, or by not enabling Playwright's download handling there.
Done when: during an attached session, a download in a tab the user opened lands in their normal Downloads folder, checked in a real browser.
While Sentient is attached to the user's browser over CDP, a file the user downloads in their own tab doesn't reach their Downloads folder. Playwright's default for an attached browser saves it under its own temp folder (
playwright-artifacts-*) with a random name, and that folder is deleted when Sentient disconnects. Seen in the real test of #202, and it already happens on main.Fix: when attaching, leave the browser's own download behaviour alone for tabs Sentient didn't open, for example by setting
Browser.setDownloadBehaviorback todefaultfor the user's context, or by not enabling Playwright's download handling there.Done when: during an attached session, a download in a tab the user opened lands in their normal Downloads folder, checked in a real browser.