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

Trying to find XPath for multiple TDs
Xpath: select h2 parent with no a child
What XPath that selects a element in <tr> which has a particular 'X' in one of its <td> tags
Using xpath with 'contains' in php [closed]
How can I get Xpath Count in selenium webdriver
Get children and subchildren together?
Using selenium to click a button that has a unicode character as its label
XPath :: running counter two levels
How do i round up values in XPath
XPath - find upcoming birthdays
Using Xpath queries to perform complex code reviews
php find xml node thanks to isset variable form url [closed]
eXist-db XQuery Sandbox: Problems in XPath expressions with doc()
check if there is a div that has the words `some text` and has the `i` tag
Get element's xpath in javascript
Unable to find an Xpath of an element using webdriver and xpath

Categories

HOME
apache-nifi
svn
adfs3.0
jms
hid
risk-management
openlayers-3
greasemonkey
vue-resource
mosquitto
navigation
polymer-2.x
elastic-load-balancer
lda
nexus3
documentum
ex
dhcp
bnf
pinterest
mixpanel
susy-sass
office-ui-fabric
http-authentication
parceler
maven-surefire-plugin
generator
acl
nurbs
strophe.js
python-imageio
docx4j
winsock
mapnik
nsmutablearray
advanced-filter
image-optimization
apptentive
netstat
aurelia-cli
data-uri
embedded-v8
nslayoutconstraint
apache-modules
adobe-reader
prefetch
pbx
allegro
gapi
scheduledexecutorservice
rational-performance-test
xcode6.4
carmen
oci
jtag
fiber
gnucash
simian
urbit
teamviewer
voronoi
wepay
enunciate
cortana
linuxbrew
auto-generate
enaml
compositetype
tree-structure
azure-xplat-cli
android-audiomanager
relationships
jini
prism.js
sql-function
meteor-collections
radius-protocol
facebook-game-groups
saga
vlab
discovery
notifyjs
flv
web-frameworks
background-thread
examine
ntlmv2
wndproc
taskkill
kaazing
navigationcontroller
quartz-core
n-queens
zend-server-ce
kext
mediacontroller
tablet-pc
digiflow
channelfactory
chunking
sscli
xap
downloadfile

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