florentbr/SeleniumBasic

Chrome Driver SwitchToWindowByTittle

DogaAnil opened this issue · 1 comments

I open 10 tabs with the program. I'm using SwitchToWindowByTittle for tab switching. When there are 3 tabs, it quickly finds the new tab. I need to work with 10 tabs. But when there are 10 tabs, the program freezes when I use SwitchToWindowByTittle.

Do you have any suggestions? I think the problem will be solved if I switch according to the tab index, not according to the title. Can you share the code for the 1st selection tab when button1 is clicked, and for the 2nd selection when button2 is clicked?

I haven't tried firefox driver. Does it fix the freezing problem?

Thanks for your helping.

Hi @DogaAnil - it would help if you could provide a code example for what you are trying to do...