Use Selenium with Python to Target the XPath of a Particular Object

Extract data from each item in a list of items instead of the whole webpage.

Paige Niedringhaus
ITNEXT
Published in
9 min readDec 19, 2023

--

Introduction

Earlier this year, I needed to write a program for my friend to collect the data of one of the NFT collections on the NFTrade site. He wanted the following data included: all…

--

--

Staff Software Engineer at Blues, previously a digital marketer. Technical writer & speaker. Co-host of Front-end Fire & LogRocket podcasts