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: Find first occurance in children and siblings
XPath to find sibling attribute based on sibling condition
iMacro - Using XPATH in TAG Command - Wrong Format of TAG Command
How to query jackrabbit jcr to get nodes ordered by number of matches (using SQL2/XPATH)?
Finding ancestors using absolute path
Using XPath how do I select a node() at a specific position that is also text()?
XPath to click 2nd link on page with this class
Google Sheets Importxml Xpath
XPath to obtain a node not working in mule esb
XPath - get parent of text nodes with condition
Custom XPath rules for XML not working in SonarQube 5.1
XQuery/XPath LIMIT a sum
Is it possible to get the last occurrence of a newline in a text node with XPath 1.0?
jaxb moxy xpath preceding-sibling
Xpath fetch specific nodes without their child nodes from XML
Using xpath to locate element with an underline in the name

Categories

HOME
xpath
kendo-dropdown
exchange-server
key
swi-prolog
foaf
visual-studio-2010
typeerror
bing-search
yql
web2py
fogbugz
cypher
openfoam
mithril.js
tweepy
static-analysis
cqrs
getopenfilename
android-externalstorage
corona
sonicwall
cpu-usage
social-tables
gitkraken
kamailio
quartz.net
android-service
tortoisehg
region
vcenter
memory-fences
osx-lion
kendo-listview
serversocket
custom-keyboard
spinner
cloudera-quickstart-vm
task-parallel-library
flowchart
utf
julius-speech
dredd
cyanogenmod
redisson
extjs4.1
exc-bad-access
scala-collections
algebra
msxml
google-shopping-api
oid
ternary-operator
pjax
streamwriter
nclam
gcloud-node
conan
dpkg
wolfram-language
ajaxmin
sharepoint-apps
gwt-syncproxy
as3-api
okta-api
servicestack-bsd
msgpack
juniper-network-connect
calcite
360-degrees
ngcordova
mutators
mojo
producer
accessory
map
typesafe-stack
codahale-metrics
coalesce
sunstudio
sly-scroller
office-app
pageheap
uploading
groovy-console
mediacontroller
libxslt
gaelyk
android-input-method
cleartype
objectinstantiation
acceleration

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App