I want to switch to a different app B while I am in a test session of my "origin" app A. The purpose is to send data from app B to app A.
I already tried to restart my driver with different capabilities and I tried to have two different drivers in my test code. But none of that works.
Has anyone some suggestions how to achieve the switch? I'm working on a mac btw. Thank you in advance!
If the switch is implemented in your app and happens automatically, then you should be able to just work with the current apps locators.
In case you need to separately open the app you can re-initialize the driver by performing
quit()
and creating new after.