dhoer / chef-ghostdriver Goto Github PK
View Code? Open in Web Editor NEWChef cookbook to install and configure GhostDriver for PhantomJS
Home Page: https://github.com/detro/ghostdriver
License: MIT License
Chef cookbook to install and configure GhostDriver for PhantomJS
Home Page: https://github.com/detro/ghostdriver
License: MIT License
Getting the following error:
WARN: remote_file[/usr/local/src/phantomjs-1.9.2-linux-x86_64.tar.bz2] cannot be downloaded from https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2: 404 "Not Found"
Need to point to new location:
https://bitbucket.org/ariya/phantomjs/downloads
GhostDriver Selenium Node on Windows is broken until the following issue gets resolved:
https://github.com/detro/ghostdriver/issues/394
Hi
In rhel_initd I found some strange behaver
When I start first time
/etc/init.d/ghostdriver_node_0 start
It is ok and the pid is in the file /var/run/ghostdriver_node_0.pid correctly
Then I can run stop and it is ok
One problem is when I run /etc/init.d/ghostdriver_node_0 start 2 time ( one after the other )
In that case the output in OK , the pid file change to the last pid but the process is the first one
ps -el | grep phantomjs
0 S 2011 14166 1 0 80 0 - 630239 poll_s ? 00:00:00 phantomjs
In the PID file I have 14590
The /etc/init.d/ghostdriver_node_0 stop is failed
Second problem is that I cannot run stop command 2 time the second time is failed
We can add some condition to the file to solve some problem
start() {
echo -n $"Starting $prog: "
if [ -f $pidfile ]; then
echo
echo -n $"($pidfile exist) already running.. "
RETVAL=0
success
echo
return $RETVAL
else
touch $pidfile
chown $user $pidfile
โฆ
stop() {
echo -n $"Stopping $prog: "
if [ -f $pidfile ]; then
killproc -p $pidfile $prog
RETVAL=$?
else
RETVAL=0
echo -n $"already stopped.."
success
fi
echo
[ $RETVAL -eq 0 ] && rm -f $lockfile $pidfile
return $RETVAL
regards zacky
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.