I want to load a list of my instagram followers (1.000+). Am I reinventing the wheel or has someone already programmed this? I have ran into problems and this is my approach:
After login, I can’t directly open | https://www.instagram.com/${userID}/followers
So: open profile page and click on link to open the follower popup window:
open | https://www.instagram.com/${userID}
click | xpath=//a[@href=‘/${userID}/followers/’]
Problem: Only the first 12 followers are loaded. In order to get the next 12 items in the list, I need to press or in the list.
-sendKeys and type won’t work as I can’t figure out which target locator to to use
-to get focus into the list in the popup window, start with: xtype | ${KEY_TAB}${KEY_TAB}
-then I have a loop working on the 12 loaded items
-last thing in the loop is to load the next 12 items: xtype | ${KEY_END}
My approach takes a lot of time to get all followers (1.000+) and consumes more than 25 xtypes (limit in the free version). Any idea how to do this better? For instance, is there a way to keep the ${KEY_END} pressed for an amount of time, thus using only one xtype? Or to programmically call the javascript functions of the web page to load the next 12 items? Any other hints?
Thanks for help in advance!