BreadCrumbs: JavaScript


From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:34, 19 June 2018 (edit)
Ljackson (Talk | contribs)
(Chrome Xpath)
← Previous diff
Revision as of 16:07, 6 October 2020 (edit)
Ljackson (Talk | contribs)
(Chrome, Firefox Xpath)
Next diff →
Line 19: Line 19:
* *

Revision as of 16:07, 6 October 2020


count(//td[text() ="Men's XL"])
//td[text() ="Men's XL"]
//option/@value | //select/@id | //input/@id | //select/optgroup/@label | //option/text()

Chrome, Firefox Xpath

Open developer tools to access the console and use the xpath function call to iterate the array of option items for the select object. Log them to the console using a for each function loop.


Export p element text



Personal tools