I am currently using the command in Qmetry Automation Framework
QAFExtendedWebdriver mydriver = getQAFDriver();
It will stores current driver in ´mydriver´ object so I can access its available methods.
Now I need to create a new driver object in the same current session itself to access IOSDriver specific methods.
IOSDriver<WebElement> driver= new IOSDriver<WebElement>(url, capabilities);
How to get current session url
, capabilities
to pass as parameters in
the above instantiation.