Switch the webpage language from English (default) to Dutch and then fails to login.
@espipj You don't want to change the language...
The whole thing will fail at several points if you change the language, what do you think is the advantage if you change it?
Yes I mean in the execution Firefox starts with English for Instagram by default, and suddlenly It goes through that if clause and execute that line, which in my case the result is that the instagram webpage turns into 驴dutch? language instead continue being in english... I'm executing it from Spain.
Solved it by commeting that 2 lines.
@espipj Which lines?
Lines 16 to 22
My fault! Just seen the firefox example and it sets the "set_switch_language" to False.
So sorry! ;)