| || |
I need to fetch all the <li> elements from a page, consecutively looped over say 5 pages.
Need to store the IDs from this LIST and save/write to my own list .
* Need to use python +selenium or any thing like pyQuery, python supportive so that this works.
Link to the image @ path below:
View image: Screenshot from 2015 05 14 18 35 10
Tnx in advance.
What part of it are you having trouble with? For the most part you can select the parent element, then do a .find_elements_by_tag("li") method to return an array of the child of that type, then use a foreach loop and extract out the properties you need and add it to a list.
Originally Posted by dexter88