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

I am trying to find a button in selenium webDriver. I am having issues finding an element text that includes spacesusing xpath
How do I exclude text within a node, when it's relative?
How to select following sibling tag with xpath
How can I upgrade to Xpath by adding a maven dependency? I can't find any repositories
Exactly when does the reverse direction of an axis apply?
Scrapy displaying xpath text using lxml
How to eliminate all <TAG/> and all attribute=“” by XSLT?
Could not evaluate XPath (Behat/Mink)
Xpath ancestor finding div
Selenium - difference between #FindBy and WebElement.findElement()
XPath evaluation issue
Need to understand - why CDATA section is treated as if the <![CDATA[ and ]]>?
Get all the elements of class that their th vlaue are some of words
Can we set an array in WSO2ESB?
How We Can Break a String in Wso2esb using Xpath
Xpath Required for identifying nodes based on a criteria in Selenium.

Categories

HOME
google-chrome
office365
artificial-intelligence
matrix
keyboard
tomcat
seedstack
redmine
moodle-api
apache-kafka-connect
bittorrent
fedora
phpmqtt
stack-overflow
sap-fiori
fullcalendar-scheduler
squirrel-sql
pinterest
fosuserbundle
pickle
gmp
amazon-mws
neo4j.rb
web-analytics
web-push
offline-caching
miniprofiler
opnet
riotjs
epplus
cloudera-manager
adminer
char-pointer
busboy
nppexec
jade4j
mv
hidden-markov-models
ejml
1wire
virtual-memory
docker-ucp
destroy
bit-shift
common-table-expression
intellij-lombok-plugin
datediff
punctuation
mura
winmerge
popen
deedle
mpmovieplayercontroller
bpms
s-function
openquery
system.net.mail
bayesglm
perceptron
fanotify
nastran
calcite
supercomputers
bootstrap-wysiwyg
ampersand
physicsjs
mathematical-expressions
tkx
sunos
rubber
ildasm
image-rotation
visual-c++-2012
otl
code-complexity
forceclose
tabletools
radius-protocol
hotswap
flipboard
lync-2010
assetic
strdup
sql-view
coalesce
disjoint-union
ax
ldif
2d-vector
arrow
trialware
series-40
memory-pool
fbml
asp.net-mvc-views
aptitude
uninstaller
ixmldomdocument
fxruby
eai
gtktextview
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