I would like to extract input value(s) from Google maps inputbox using xpath. For eg: for these inputs
So I should get "Toronto Pearson International Airport"
When I do (//input)[2]/text()
. I donot get any value.
I have also tried (//input[@class="tactile-searchbox-input"])[4]
which shows destination("Toronto Pearson International Airport") in "value" property when I check in chrome console.
What would be the right approach here to extract value from input box.