Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Run automated selenium test scripts from JIRA ondemand
Fri Dec 08, 2017 12:40 pm by azharuddin

» New! Appium Desktop
Sat Nov 25, 2017 3:51 pm by azharuddin

» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by navi_thatikonda on 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 ??????

navi_thatikonda

Posts : 1
Join date : 2009-09-23

Back to top Go down

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

Post by Adviser on Sat Oct 10, 2009 12:18 pm

Hi,

use the following commands and you will get, what you wanting.


  • [info] Executing: |storeLocation | variablename | |
  • [info] Executing: |type | q | ${variablename} |
Best of luck

bye
avatar
Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum