Skip to content

Multiple tabs support? #37

@NachoBrito

Description

@NachoBrito

Hi, and thanks for making this cool MCP Server open source!

I need to automate testing for a site that opens the log in page in a new tab. Once the authentication is complete the new tab closes and the initial tab refreshes to show the application.

The problem I have is that selenium keeps focus on the first tab, so it doesn't find the login form fields (I verified this asking for a screenshot, it shows the first screen)

I have tried to instruct the LLM to switch tabs, but the press_key tool fails with the 'Control+Tab' combination with the error "key input is not a single code point".

Any idea on how can I change focus to the new tab to fill the login form, and then go back to the initial one using this MCP?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions