Am using selenium Web Driver for switching between the windows.
using java script for opening the new window
((JavascriptExecutor)driver).executeScript("window.open("http://www.gmail.com");");
After opening the new window i need to perform some actions on the newly opened window and then close it and switch back to the old window.
mentioned above works fine in Windows and Linux with all the browser combinations ,but fails in I Phone and Andriod.
Please provide what cause for this ,why this opening a new window does not work in I Phone or Android.
There are very few resources regarding this issue even they are very uncertain,please kindly provide the information regarding this issue.
Thanks in advance.