I want to check what window is being interacted with window_handle, but after changing window with my mouse, the current_window_handle was the same.
How can I solve that problem ?
I want to check what window is being interacted with window_handle, but after changing window with my mouse, the current_window_handle was the same.
How can I solve that problem ?
Selenium doesn't detect what's happening with the browser outside of the code running. It has a window handle and that window handle doesn't change if you mess with the browser manually by switching tabs, etc.