Last active
March 28, 2016 09:58
-
-
Save kurozumi/e945719df2657631dd51 to your computer and use it in GitHub Desktop.
【Python】CentOS上でFireFoxを起動してSeleniumを利用する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# X Window Systemをインストール | |
sudo yum groupupdate "X Window System" | |
# 仮想ディスプレイを作るためXvfbをインストール | |
sudo yum install xorg-x11-server-Xvfb | |
# FireFoxをインストール | |
sudo yum install firefox | |
# pythonでディスプレイを起動させるパッケージをインストール | |
sudo pip install pyvirtualdisplay | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment