I am using IE8.
In my test I am clicking on a button which pop ups a new IE 8 Browser
Window to another page where I need to input some data.
So I think I am supposed to:
driver.switchTo().window(newHandle); //where the new handle is the pop IE
Browser which I am able to detect and determine which one
I then want to select an item in a select box: (Tried inputting waits, by
xpath, and by id)
Select selector = driver.findElement(By.xpath("some xpath")); //find select
The test than throws an exception stating it cannot find the xpath or id on
the line above..
Am I not supposed to be using the switchTo and be using something else?
I spoke with some Selenium User Group in house and they were stumped as
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/a9fZhrEmjecJ.
For more options, visit https://groups.google.com/groups/opt_out.