| || |
How to retrieve URL of any pop-up window?
I am using Selenium RC with Ruby. In my web application, there are few text contents, which open in a pop-up window. I want to get URLs of those pop-up windows, from the top URL bar.
Ofcourse, I can do it manually, but I want to automate this thing.
Is it possible using Selenium + Ruby?
Your kind help/ suggestions are highly appreciated.
Thanks in Advance.
Re: How to retrieve URL of any pop-up window?
I see 2 possible ways
1. use selenium command storeLocation
2. get the href of the element that opens those windows
hope this helps