Instapy: Installation InstaPy W10: selenium.common.exceptions.WebDriverException: Message: TypeError: browsingContextFn().currentWindowGlobal is null

Created on 11 Jan 2021  Â·  7Comments  Â·  Source: timgrossmann/InstaPy


Expected Behavior

Current Behavior

Possible Solution (optional)

InstaPy configuration

hi after i solve about 5/6 different error thanks to the comment on youtube i can't succed in solving this one:
selenium.common.exceptions.WebDriverException: Message: TypeError: browsingContextFn().currentWindowGlobal is null

i'm on w10, i installed all the programs today, i should have all the latest version

do you know what should i do? thanks in advance

Most helpful comment

you haven't solved the biggest error of them all, using windows ...

All 7 comments

you haven't solved the biggest error of them all, using windows ...

Stop bullying :(

yes i have this problem when i try to login one of my accounts please answere...i'm in windows10
and i have this problem just for one of my accounts not for all...

Could you check if the geckodriver is well defined for the InstaPy session.
There is an example in the official documentation
InstaPy

Go to line 1953 of ".../instapy/util.py" and change "PFL" to "VOEL". Worked for me on Windows 10, python 3.6.

EDIT:

Change line

explicit_wait(browser, "PFL", [], logger, 10)

to

explicit_wait(browser, "VOEL", [], logger, 10)

tnx...i update my geckodriver and it works

On Wed, Jan 13, 2021 at 6:24 PM windowshopr notifications@github.com
wrote:

Go to line 1953 of ".../instapy/util.py" and change "PFL" to "VOEL".
Worked for me on Windows 10, python 3.6.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/timgrossmann/InstaPy/issues/6017#issuecomment-759500402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APKPP25AXQG4AZYQXICLWNLSZWX2HANCNFSM4V5Z6TIA
.

tnx...i update my geckodriver and it worked..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

n0sw34r picture n0sw34r  Â·  3Comments

seuraltimez picture seuraltimez  Â·  3Comments

harrypython picture harrypython  Â·  3Comments

thisishotdog picture thisishotdog  Â·  3Comments

neomh picture neomh  Â·  3Comments