You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: should switch_to_window visibly change focus on tabs when run headful? #285
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?
Activity
route commentedon Jan 7, 2025
You should use
activaterubycdp/ferrum@600d63dwhen switching tab. It should do the trick. Do you have a repro test?