Open Baelfire18 opened 4 years ago
I am stuck here too! I removed the sugs code because it becaame redundant, but then the script wasn't even opening the following list after that. If the sugs were retained, then the script shows the following list but obviously conks out cuz there is no Suggestions any more. Any ideas to bypass this?
Edit: Just remove sugs and replace all ids with the full xpath id and you are done
Yeah i did the same thing back then, and it works
Hi Aaron, i have been watching your code and trying to upgrade it so it be compatible with the upgraded frontend of instagram. Im in the part of the scrollIntoview (line 42 in your main.py) and i cant seem to make it work: my line now is: self.driver.execute_script('arguments[0].scrollIntoView(true);') (Now the variable sugs its not necesary because the option Suggestions is not longer in the end) How would you upgrate this part? I dont seem to totally understand how does the methot exectute_script works. Everything up to this point is working fine. Can you help making it work it please?