I am trying to parse followers` nicknames from a twitter account (https://twitter.com/oldLentach/followers).
This is how I detect the nicknames along with some unnecessary stuff, which can be easily filtered out afterward:
[el.get_attribute('href') for el in
browser.find_elements_by_xpath('//div//a[@role="link"][@aria-haspopup="false"][@data-focusable="true"]')]
Then I scroll the page down to load new users and repeat the upper code:
browser.execute_script("window.scrollTo(0, document.body.scrollHeight);")
However, the output is precisely the same as if I did not do any scrolls! (I checked that the scrolls work)
Please help me!