2016-10-12 16 views
0

我已经通过各个环节不见了,执行以下步骤:无法在Python硒Eclipse设置来解决的webdriver

  1. 安装Python
  2. 与PIP安装硒安装硒命令
  3. 运行Eclipse
  4. 在Eclipse中安装PyDev插件
  5. 选择Python作为解释器
  6. 在库部分中,我所有的库安装

    screen shot

  7. 然而,当我尝试使用import webdriver,webdriver的没有得到解决。

回答

0

你应该导入为

from selenium import webdriver 

试试吧,让我知道结果

+0

@Anderson:它的工作,非常感谢! –