I want to switch between MS Store and Chrome browser. how to switch applications using WinAppDriver?
I was looking into https://github.com/microsoft/WinAppDriver/issues/534, found a few suggestions in C# but unfortunately they are not working with python and updated appium/selenium.
Here is my code to connect to the Root
desired_caps = {}
desired_caps["app"]="Root"
session = webdriver.Remote(command_executor='http://127.0.0.1:4723', desired_capabilities= desired_caps)
print(session.current_window_handle)
#it prints current window handle
Next, I am trying to get all the handlers, which is returning Null,
windows = session.window_handles