Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created September 11, 2018 20:02
Embed
What would you like to do?
actionChain = webdriver.ActionChains(self.browser)
while (numberOfFollowersInList < max):
actionChain.key_down(Keys.SPACE).key_up(Keys.SPACE).perform()
numberOfFollowersInList = len(followersList.find_elements_by_css_selector('li'))
print(numberOfFollowersInList)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment