post initialisation, i do some actions on this application. Now, i want to restart the application continue with some more actions on this application. So, how do i handle the restart of application through code ? Do i need to quit driver & then reinitialise again ( using : driver = webdriver.Remote(‘http://localhost:4726/wd/hub’, desired_caps) ?
As mentioned in my previous response, we are initialising the driver then quit the driver once certain actions are performed. then again reinitialise the driver to perform next set of actions.
Not sure if this is the ideal way of doing it. Since we are not able to use launchapp/closeapp method using python, we have used quit & reinitialise driver itself.