I have a hybrid app with redirects on the chrome browser.
In order to make appium recognize both apps, is there a possibility to declare a double desired_cap
?
I want to make the script to click on one of the hybrid app button, then after the redirect to chrome is done, a verification of the chrome page should be done (so we can know that the redirect was done correctly) and then we have the driver.back()
which will lead us back to the hybrid testing app.
I know is wrong what I've wrote, but can't find the right way.. got the error that the __second__
is not defined.
My example:
Can anyone help me with that? Thanks in advance.