Skip to content

Unable to Switch to a tab if clicked a link that opens in new tab #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Krishnakumar1988 opened this issue Apr 15, 2025 · 0 comments
Open

Comments

@Krishnakumar1988
Copy link

Description
When we have a link or button that will open a new page/tab, we are not able to switch to that tab using MCP server now.

Expected Behavior
When we aske the Ai to do following "find the element with title 'XYZ' and use "click and switch tab" tool to click on it . then MCP server should call a tool and switch the control to that tab.

Approach
We should have a Tool that can wait for the page even to be loaded during the click and then assign to a new page . switch to the new page so that all the operations will happen in the new page.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant