skip to main
|
skip to sidebar
EAGLE EYE
Sunday, November 13, 2011
Selenium - XPATH - Location Of text...
If we want to click on some text which we dont know the Id,Name
we can use selenium.click("xpath=//*[text()=\"Search\"]")
To be more specific we can use
selenium.click("xpath=//*[@id='ParentDivId']//*[text()='Search']");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Madan Mohan Reddy
San Francisco, California, United States
View my complete profile
Blog Archive
►
2021
(3)
►
May
(1)
►
April
(1)
►
January
(1)
►
2020
(3)
►
December
(1)
►
November
(2)
►
2017
(1)
►
September
(1)
►
2014
(1)
►
March
(1)
►
2013
(1)
►
July
(1)
►
2012
(12)
►
November
(2)
►
October
(3)
►
August
(1)
►
April
(1)
►
March
(2)
►
January
(3)
▼
2011
(27)
►
December
(3)
▼
November
(3)
Selenium - Autosuggest edit field
Selenium - XPATH - Location Of text...
WebDriver - Listbox and few other details
►
October
(1)
►
August
(2)
►
July
(2)
►
June
(3)
►
May
(2)
►
April
(5)
►
March
(2)
►
February
(4)
►
2010
(4)
►
December
(4)
►
2008
(5)
►
October
(5)
No comments:
Post a Comment