Prefer a video Example? - click here
Why would I want to do this?
If the data you want to extract from a page is hidden behind a drop down menu, not fully visible on the webpage, or otherwise not selectable in the Extractor, it is still possible to extract if it appears in the html.
Show me an Example
This item on etsy.com has 2 prices that can be selected by clicking on a drop down menu. Imagine you want to capture them both.
In the Extractor, it is not possible to click on the dropdown and the select each piece of data individually, but you can see from the html that the data is there (right click > inspect):
In this case, the XPath that locates the data we want is:
In short, this XPath is telling the Extractor to: Find any attribute called "name" that contains the value "listing"; then look for the data that lives in the element called "option"; but ignore the first item.
When entered in the box, the corresponding data will appear in the column.
Element names containing "io"
or attributes containing "io"
If you want to lean more about XPaths, try one of these two great sources:
Mozilla Developer Network