Skip to content

Question: should switch_to_window visibly change focus on tabs when run headful? #285

@vdbijl

Description

@vdbijl

I am debugging a problem that we have when testing with 2 tabs open. The test switches between tabs, but sometimes has a hard time finding elements on the screen.
When running the test headful I see that the switch_to_window does not visibly give the focus to the tab that is being switched to. Is that intentional or is that a bug?
Could the lack of focus be related to Cuprite/Capybara/Ferrum taking a long time finding elements on the non-focused page?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions