Skip to content

Commit

Permalink
Removed window. for temp variable in js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fytex authored Oct 21, 2020
1 parent 9cd92e2 commit 62d8253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/instagram_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def get_user_connections_from_web(self, limit:Optional[int]=None, followers:bool


self.driver.execute_script('''
elem.scrollTo(0, window.elem.scrollHeight);
elem.scrollTo(0, elem.scrollHeight);
''')


Expand Down

0 comments on commit 62d8253

Please sign in to comment.