How to identify an element through classname even though there are multiple elements with the same classnames using Selenium and Python
问题 <div class="_2S1VP copyable-text selectable-text" data-tab="1" dir="ltr" spellcheck="true" contenteditable="true"></div> <div class="_2S1VP copyable-text selectable-text" data-tab="3" dir="ltr" contenteditable="true"></div> I'm a beginner and I've had a hard time distinguishing / specifying the first class over the second one typing = bot.find_element_by_xpath('//div[@class = "_1Plpp"]') this doesn't seem to work and just using the class name always brings up the unwanted second one with the