midscene icon indicating copy to clipboard operation
midscene copied to clipboard

[Feature] Ability to use Page object in Bridge Mode?

Open fullstackwebdev opened this issue 10 months ago • 1 comments

Sometimes the AI screws up on something very easy, that I could click with just Page. Or I need to change URL programmically. Or take a screenshot. Is there a way to access the Page or Browser object to take a screenshot or perform other actions?

thanks

fullstackwebdev avatar Jan 28 '25 05:01 fullstackwebdev

Excellent question. We will export the getBridgePageInCliSide function to assist users in obtaining the original page, enabling them to execute the desired capabilities.

zhoushaw avatar Jan 29 '25 02:01 zhoushaw

getBridgePageInCliSide supported: https://github.com/web-infra-dev/midscene/blob/main/packages/web-integration/tests/ai/bridge/agent.test.ts#L20

quanru avatar Jun 13 '25 10:06 quanru