閲覧して頂きありがとうございます。
早速ですが質問させて頂きます。
centOS6のVPS内でselenimuの勉強をしているのですが、
どうしても解決出来ないので相談させて頂きました。
VPS内で以下のコマンドを入力すると
$ python test.py
結果が以下のように返ってきます。
selenium.common.exceptions.WebDriverException: Message: Unknown error: cannot find Chrome binary (Driver info: chromedriver:2.10.~,platform=Linux2.6.32-642.13.1.el6.x86_64 x86_64)
検索して色々してみたのですが、
問題が解決しません。
どうかご教授願います。
※test.pyの中身ですが
python
1from selenium import web driver 2from pyvirtualdisplay import Display 3 4driver = webdriver.Chrome() 5driver.get("http://www.google.com") 6print driver.page-source.encode('utf-8') 7driver.quit() 8display.stop()
回答1件
あなたの回答
tips
プレビュー