Question : Webception / FTP / selenium
hello,
I use Codeception with webdriver and use command line to launch test. I try to use webception to show it on a web-application for my colleagues so I deployed webception on my FTP but i have problems with piloting selenium. I didnt succeed to run the test from my ftp with webcept.
[WebDriverCurlException]
Curl error thrown for http POST to http://127.0.0.1:4444/wd/hub/session with params: {"desiredCapabilities":{"unexpectedAlertBehaviour":"accept","browserName":"firefox"}}
couldn't connect to host
Any suggestions will be welcome. thank you
Someone could help me with how to use webception with webdriver ? ^^
You need to launch selenium manually afaik. Selenium is not listed as a standalone package in repositories and doesn't require any installation, and because of that any application won't have a single clue of how it should be launched. So you basically need to download selenium(selenium server), install java (if it isn't installed yet) and launch selenium manually, something like that:
java -jar %downloaded selenium file%.jar
or (to mute output):
nohup java -jar %downloaded selenium file%.jar > /dev/null 2>&1 &
That should do the trick.
Hello, I have already done this, it works locally but not on my ftp.
Does the launch succeed? What's the output of it? Does telnet localhost 4444 succeed if run on remote host?
upd. ending telnet session may get a little tricky, be ready to google it. ctrl + ] then quit worked for me.