selenium 3.x开始,webdriver/firefox/webdriver.py的__init__中,executable_path="geckodriver";而2.x是executable_path="wires";
firefox 47以上版本,需要下载第三方driver,不然会报phantomjs出错,Github下载地址为:https://github.com/mozilla/geckodriver/releases;
打不开的点击这里进行下载
selenium 3.x开始,webdriver/firefox/webdriver.py的__init__中,executable_path="geckodriver";而2.x是executable_path="wires";
firefox 47以上版本,需要下载第三方driver,不然会报phantomjs出错,Github下载地址为:https://github.com/mozilla/geckodriver/releases;
打不开的点击这里进行下载