xpath


Unable to capture XPath of dynamic element - Selenium - C#(Visual Studio)


There is a Text box where in data is entered. On entering a drop down list pops out(kind of auto extender), with few options matching the entered text. I need to select one value form the list. But I am unable to capture the XPath, when I try to fetch the XPath, the list auto closes. How to capture such element?
HTML code for List:
<div id="citydiv" style="height: 120px; overflow: auto; position: absolute; width: 129px; visibility: hidden; left: 370px; top: 542px; z-index: 1000; display: none;" class="AutoExtender"></div>

Related Links

XPATH to extract data from CarWale.com?
XSLT Function Return Type
Using XPath can ID/IDREF use be checked?
xpath find element based on the value of other element
How to use XPath extract text without Html tag?
xPath union statement with functions
Rapidminer: How can I retrieve multiple attribute 'sets' per page from web-sites
Xpath of invisible element
Extract first element with XPath and scrapy
PMD Xpath, how to compare 2 #Image?
Count elements in an array of nodes
How to generate a proper playOrder in NCX files (used for epubs) in XQuery?
Selecting text from multiple paragraphs using xpath
How to get number of list element (ul tag) of HTML using Get matching XPath count?
selenium2library,how to get id from an attribute if it's not a web element?
How can i get this value with XPATH in JMeter

Categories

HOME
protocol-buffers
apache-nifi
apple-push-notifications
windows-8.1
openxml
writefile
dry
share
responsive-design
msmq
xamarin-zebble
erd
mailmerge
ex
word2vec
pickle
jaspersoft-studio
adminlte
workday
intel
password-generator
network-analysis
npoi
miniprofiler
fusion
nic
netbios
opnet
nsmutablearray
rspec-rails
payeezy
dreamfactory
ms-solver-foundation
right-click
distributed-caching
flipkart
coverage.py
permission-denied
type-inference
wysihtml5
android-5.0-lollipop
knockout-2.0
amazon-elastic-beanstalk
polymaps
emf-compare
nunit-console
conan
flipclock
boost-proto
mousehover
place
cfwheels
srv-record
blank-line
compositetype
alwayson
phpredis
actionpack
scala-macros
mgwt
adhoc-polymorphism
cout
accessory
prism.js
meteorite
apache-shindig
coalesce
flv
sly-scroller
web-frameworks
semicolon
android-authenticator
office-app
viewpagerindicator
autosize
wcf-callbacks
datacontracts
asp.net-mvc-views
webresponse
j2mepolish
suggestbox

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App