July 2019
Beginner to intermediate
350 pages
8h 13m
English
In this example, we will continue using the search results obtained from foundProducts in the Exploring Selenium section.
We will extract some specific information from each individual product link found in foundProducts, listed as follows:
Each individual product link from foundProducts is loaded using driver.get():
dataSet=[]if len(foundProducts)>0: for foundProduct in foundProducts: driver.get(foundProduct[1]) product_url = driver.current_url product_name = driver.find_element_by_xpath('//*[@id="center_column"]//h1[@itemprop="name"]').text ...Read now
Unlock full access