Skip to content

Commit abe81ce

Browse files
committed
feat(operators): remove focus from the address bar after navigation
1 parent 1fef3d7 commit abe81ce

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

multimodal/gui-agent/operator-aio/src/AIOBrowser.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ export class AIOBrowser {
117117
waitUntil: [], // Wait for no event
118118
});
119119
this.logger.info('Navigation completed');
120+
121+
await new Promise((resolve) => setTimeout(resolve, 300));
122+
await page.bringToFront();
123+
this.logger.info('Page brought to front');
120124
}
121125

122126
public async handleNavigateBack(): Promise<void> {

0 commit comments

Comments
 (0)