We need to do two things differently(IMO) when we want to automate Cordova apps
1. Switch to web view
for(String winHandle : driver.getWindowHandles()){
driver.switchTo().window(winHandle);
}
2. 'By.xpath' may not work always, use 'By.name'
No comments:
Post a Comment