First, I need to adjust my problem description. Since I wrote the first
post, I have realized that webdriver actually hangs immediately after
executing the code that closes the popup. It never gets to the line that
switches back to the default content. So:
- I use switchTo().frame("LookupWindow") to switch to the popup.
- I then successfully enter some text and look up a value
- Once the value is found, I click on on it (still on the popup)
- The popup now closes (because I clicked on the value in the popup)
This all works fine, but webdriver now hangs. It never gets to
Also: this is on Firefox 15.0.1, Selenium (java) 2.25.
I have successfully used similar code (switchTo()... etc) in the past, but
there the popup didn't close itself. I am going to try and convince my
employer to put a sample of this code up on a public page somewhere.
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/79NHXCwG70MJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.