我刚刚安装了碎片0.8.0。我是这样输入的:1.Firstly, I have had installed anaconda and the corresponding spyder supports python3.7
2.I installed the latest selenium by using "pip install selenium" on cmd.exe
3.I used "pip -m install splinter" to install splinter0.8.0
4.I installed geckodriver from the github
点击这里
5.I configurated the environment by getting the geckodriver.exe copied to the directory which includes fiefox.exe and get the path into the PATH of the computer
6.To this, the splinter could open firefox but always got some exceptions..
7*.When I then opened the firefox with mouse clicking, the firefox started with page white. And no matter what I input into the search box, nothing happened. What's more, I found that the developer tools couldn't be opened. And all these cases happened when I started firefox through desktop shortcut. Interestingly, when I started it in its directory which it's originally at, the firefox could work. But in this case when I open a new blank page, it didn't work too...
太混乱了!!感谢您的帮助!
原因可能是计算机已经工作了很长时间,如果您完全关闭它并重新启动它,Firefox 可能会活跃起来。(也可能是因为Win10需要放松(。 如果这不起作用,我推荐 chromedriver。