mac下怎麼搭建selenium python環境

時間 2021-06-01 00:40:14

1樓:劉靜

Traceback (most recent call last):

File "C:\Users\lijing\Desktop\python\33.py", line 3, in

driver = webdriver.Firefox()

File "C:\python\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 145, in __init__

keep_alive=True)

File "C:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 92, in __init__

self.start_session(desired_capabilities, browser_profile)

File "C:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 179, in start_session

response = self.execute(Command.NEW_SESSION, capabilities)

File "C:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 236, in execute

self.error_handler.check_response(response)

File "C:\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 192, in check_response

raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.

WebDriverException: Message: Missing 'marionetteProtocol' field in handshake

請問這個是怎麼回事啊,求教大仙

2樓:趙子豪

請問這是什麼問題?Firefox版本問題嗎?怎麼解決?我的firefox版本是48.0,selenium版本是2.53.6

3樓:劉歡

sudo easy_install pip 報錯:Couldn't find a setup script in /Users/liuhuan/Downloads/pip-7.1.

0/pip

這個誰知道怎麼回事啊?

Mac 下如何搭建 PHP 開發環境?

mac自帶了php和apache,如果預設的是自帶的php5.5的版本樣。可以使用brew安裝自己適合的版本。我之前也用了mac搭建,現在用的是docker。mac搭建php開發環境。這個你可以嘗試參考一下。 從2018年4月開始Homebrew php停止更新了,所以有一些老的homebrew的安...

如何在mac下遠端搭建git伺服器?

天豬 樓上的方案有點舊了點。簡單的說,截至到2014年底,你有兩種方式 本機開個ssh即可,僅用於臨時協同。使用gitlab,高仿版github,各大公司都在用,值得你擁有。再看了下問題,糊塗了,你到底是在mac上搭建,還是在伺服器上?前者的話,何來 遠端 後者的話,直接找個終端登入後就跟mac無關...

Linux環境下搭建MySQL環境?

frog 並且還可以安裝各版本的mysql,甚至tomcat。檢視所有映象 docker images 正在執行容器 docker ps 檢視docker容器 docker ps a 進入乙個容器 docker attach d48b21a7e439 執行乙個mysql例項 docker run n...