WebDriverException: Message: Can't load the profile. Possible firefox version mismatch.

159 views
Skip to first unread message

Reed Xia

unread,
May 28, 2018, 9:25:57 AM5/28/18
to seleniu...@googlegroups.com
Hi there,

I got the exception when using selenium + pytest + Xvfb with Jenkins:

E               selenium.common.exceptions.WebDriverException: Message: Can't load the profile. Possible firefox version mismatch. You must use GeckoDriver instead for Firefox 48+. Profile Dir: /tmp/tmpmon3g9gr If you specified a log_file in the FirefoxBinary constructor, check it for details.


See the version information:

13:19:17 + geckodriver --version
13:19:17 geckodriver 0.19.0
13:19:17 + firefox -version
13:19:17 Mozilla Firefox 58.0

Actually I tried some other version of Firefox and geckodriver, but still got this error, could someone tell which geckodriver or firefox version should I use?(Because I'm using an incorrect version mapping...?)


Thanks,
Reed

Reed Xia

unread,
May 28, 2018, 10:13:33 PM5/28/18
to seleniu...@googlegroups.com
I fixed this problem :)

Yes it's a geckodriver vs firefox problem, just now I downgraded Firefox to 46.0, it's working well with geckodriver  0.19.0.
Reply all
Reply to author
Forward
0 new messages