Using XPath to display hidden data

It may be easy for most of you, but it has been bothering me for several days now. I am currently using import.io to create scanners, and I still understand how to use xpath overrides.

I want to know how best to get the data that appears only at the click of a button.

Here is an example page: http://www.timeout.com/newyork/restaurants/agave#tab_panel_2

And here is xpath: // * [@ id = "bookmark ___ content_2"] / table / TBODY / mp [2] / td / div / a [2] / SPAN [2]

Using xpath, I get a "Call Venue", but I am looking for a phone number that appears only when a button is clicked.

Is it possible?

+4
source share
1 answer

XPATH, : // * [@ = " ___ content_2" ]//TBODY/ [2]/// [2]/@HREF

+5

All Articles