This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Unable to switch focus between Chrome tabs. #3840
Open
Description
Hi there,
I am unable to switch focus between tabs in Chrome, Where as control can be shifted between the tabs using "browser.switchTo().window( handles[1] )".
Scenario: I am dealing with 3 tabs, currently 3rd tab is in focus. With the above snippet I can switch the control to 2nd tab. Once I switch the control to the 2nd tab, I am unable to perform some actions like selecting an option from dropdown, it is throwing "No such element available error". If I am able to switch the focus I can perform all actions without any issues. But there is no function available in Protractor to switch the focus between tabs.
Additional Info:
Protractor Version: 3.1,
Chrome Version: 54.
Regards,
Charvaka.