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?