Hi All,
I am trying to use two drivers in my test; chrome and android.
Below is the test :
Below is the application.properties
![Screenshot 2024-05-17 at 1.05.25 PM.png](https://groups.google.com/group/qaf-users/attach/d9252db4ce06b/Screenshot%202024-05-17%20at%201.05.25%E2%80%AFPM.png?part=0.2&view=1)
Behaviour - Chrome is launched and mentioned step is performed. But when the setDriver("androidDriver") is called the existing open chrome browser gets closed and then android test continue to run. After android test run and upon switch back to chrome the test fails. This is because the chrome driver is again initialised.
Expected Behaviour : The chrome browser should not close when switched to other driver
Error:
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"*[name='q']"}
(Session info: chrome=124.0.6367.208)
qaf-version - 4.0.0-RC3
Any help and suggestions will be helpful.
Thanks,
Ranjan