how to get the href or url of the web page with selenium ide

View: New views
4 Messages — Rating Filter:   Alert me  

how to get the href or url of the web page with selenium ide

by thatikonda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi friends,

My question is:  

1. I opened google.com (my url is google.com)

2. just I typed "selenium ide" and enter

3. Now am seeing  url as "http://www.google.com/#hl=en&source=hp&q=selenium+ide&btnG=Google+Search&aq=f&aqi=g10&oq=selenium+ide&fp=a70abe15f561671b"

I want to store above url in a variable.

How I have to do this ??????

Re: how to get the href or url of the web page with selenium ide

by kjaladi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Can you be little more clear please?

thanks.

Re: how to get the href or url of the web page with selenium ide

by thatikonda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I want to store URL of a page in a variable.

<tr>
<td>store</td>
<td>here I have to get current pageURL </td>
<td>url</td>
<tr>

How to store current page Url in a variable ?  Is it possible to retrieve with dom or Java script ? How to do this?
 
I want to display that URL with an echo.

kjaladi wrote:
Hi, Can you be little more clear please?

thanks.

Re: how to get the href or url of the web page with selenium ide

by thatikonda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How to retrieve URL of the page dynamically with selenium IDE?

 

I want to store URL of a page in a variable.

<tr>
<td>store</td>
<td>here I have to get current pageURL </td>
<td>url</td>
<tr>

How to store current page Url in a variable ?  Is it possible to retrieve with dom or Java script ? How to do this?
 
I want to display that URL with an echo.

kjaladi wrote:
Hi, Can you be little more clear please?

thanks.