I need to get information from this site from the description using selenium python. The description appears when you hover your mouse over the nickname. I can't seem to find a way to get the description, any help would be greatly appreciated
CodePudding user response:
Just grab all the values in the element div with id tip after you hover using ActionChains.
values=[x.text for x in driver.find_elements(By.CSS_SELECTOR,"div#tip a")]
print(values)