1
私はWebアプリケーションをテストするためにsplinterを使用しようとしています。以下を実行しようとすると、Python Splinter browser = Browser()が動作しない
このエラーが発生します。私は周りを見回してきましたが、修正する方法がわかりません。 誰かがこれを過ぎる方法を教えてもらえますか?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/danny/anaconda/lib/python2.7/site-packages/splinter/browser.py", line 63, in Browser
return driver(*args, **kwargs)
File "/Users/danny/anaconda/lib/python2.7/site-packages/splinter/driver/webdriver/firefox.py", line 39, in __init__
self.driver = Firefox(firefox_profile)
File "/Users/danny/anaconda/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 103, in __init__
self.binary, timeout)
File "/Users/danny/anaconda/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py", line 51, in __init__
self.binary.launch_browser(self.profile, timeout=timeout)
File "/Users/danny/anaconda/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 67, in launch_browser
self._start_from_profile_path(self.profile.path)
File "/Users/danny/anaconda/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 90, in _start_from_profile_path
env=self._firefox_env)
File "/Users/danny/anaconda/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/Users/danny/anaconda/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
完全なコールスタックですか?実際のエラーメッセージは表示されません。 – d3ming
申し訳ありませんが、最終行は: OSError:[Errno 2]そのようなファイルやディレクトリはありません –
ありがとう、私は時々愚かです –