使用Selenuim和Cucumber的CentOS7镀铬驱动程序不工作

时间:2017-05-02 16:52:45

标签: rubygems cucumber

wget https://img.cs.montana.edu/linux/fedora/local/24/x86_64/google-chrome-stable-58.0.3029.81-1.x86_64.rpm
yum install google-chrome-stable-58.0.3029.81-1.x86_64.rpm
yum -y groupinstall "X Window System" "Desktop" "Fonts" "General Purpose Desktop"yum -y groupinstall "X Window System" "Desktop" "Fonts" "General Purpose Desktop"
Xvfb :1 -screen 0 '1280x1024x16' -ac &> /dev/null &
export DISPLAY=:1export DISPLAY=:1
/home/user/.gem/ruby/2.3.4/gems/cucumber-2.4.0/bin/cucumber -t @MYTESTS

这使它适用于chromedrive 2.29

0 个答案:

没有答案