2016-08-24 3 views
1

セレンをインストールしました。pybot myTestを実行した後、firefoxのプロフィールに関するエラーがあります。Selenium:FirefoxProfile exceptionプロフィールを読み込めません。OSXでブラウザが開いていません

これは、このtopicとまったく同じ問題です。残念ながら私は実行しましたpip install -U seleniumしかし、

それはまだ同じエラーを返します、私のFirefoxのバージョンは48.0.1です。ここに私のエラーがあります

<msg timestamp="20160824 16:01:19.947" level="INFO">Opening browser 'firefox' to base url 'https://www.google.com'</msg> 
<kw name="Capture Page Screenshot" library="Selenium2Library"> 
<doc>Takes a screenshot of the current page and embeds it into the log.</doc> 
<msg timestamp="20160824 16:01:50.167" level="FAIL">No browser is open</msg> 
<status status="FAIL" endtime="20160824 16:01:50.167" starttime="20160824 16:01:50.157"></status> 
</kw> 
<msg timestamp="20160824 16:01:50.167" level="WARN">Keyword 'Capture Page Screenshot' could not be run on failure: No browser is open</msg> 
<msg timestamp="20160824 16:01:50.168" level="FAIL">WebDriverException: Message: Can't load the profile. Profile Dir: /var/folders/b9/th8_45d55_16rlk9wsdfp8300000gn/T/tmppUXVZI/webdriver-py-profilecopy If you specified a log_file in the FirefoxBinary constructor, check it for details. 
</msg> 

ご協力いただきありがとうございました。ありがとうございました。

答えて

1

実行中のSeleniumのバージョンは?彼らはFirefoxのサポートを中止することを決め、Marionetteを導入しました。 Marionetteを使用するか、またはSeleniumを2.53.1にアップグレードすることができます。このリリースはFirefoxのサポート専用です。がんばろう!

関連する問題