I'm trying to scroll through my facebook friendlist / chatlist using selenium webdriver
via python but it only scrolls web page and not that list.
I tried something like this:
list = driver.find_elements_by_xpath('xpath')
hover = ActionChains(driver).move_to_element(list)
hover.perform()
But nothing happened!
Can anyone please share how it can be done.
Use a for loop.
Say:
for element in list:
hover = ActionChains(driver).move_to_element(element)
hover.perform()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.