mac下利用pycharm编写Python+selenium,一直在提示“selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilitieser”搞了一天了一直弄不好,求助大神帮帮忙!!!
http://www.cnblogs.com/LanTianYou/p/4965944.html
你需要安装selenium对应的chrome,或safari的webdriver
因为你的文件夹下有一个叫selenium.py的文件。import 在做解析的时候先import了你自己的这个文件了。
解决方法是把你这个文件改个文件名。
try
print selenium.__file__
你就知道你import的究竟是哪个文件了