midscene
midscene copied to clipboard
[Feature] Ability to use Page object in Bridge Mode?
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
Excellent question. We will export the getBridgePageInCliSide function to assist users in obtaining the original page, enabling them to execute the desired capabilities.
getBridgePageInCliSide supported: https://github.com/web-infra-dev/midscene/blob/main/packages/web-integration/tests/ai/bridge/agent.test.ts#L20