- navi_thatikonda
- Posts : 1
Join date : 2009-09-23
how to get the href or url of the web page with selenium ide
Sat Oct 10, 2009 7:18 am
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.
is it possible to do with Xpath or dom? if possible how ?
How I have to do this ??????
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.
is it possible to do with Xpath or dom? if possible how ?
How I have to do this ??????
Re: how to get the href or url of the web page with selenium ide
Sat Oct 10, 2009 12:18 pm
Hi,
use the following commands and you will get, what you wanting.
bye
use the following commands and you will get, what you wanting.
- [info] Executing: |storeLocation | variablename | |
- [info] Executing: |type | q | ${variablename} |
bye
- How do I get one page element in another page using Selenium Webdriver(java code)
- my selenium html file opens the code page rather than web page
- Can I have Selenium re-log into a page if I've been automatically logged out?
- How to scroll down for specific div on page using Selenium TestNG
- It is possible to find list of all URL's exist in any web page in selenium ide
Permissions in this forum:
You cannot reply to topics in this forum