Webception icon indicating copy to clipboard operation
Webception copied to clipboard

Question : Webception / FTP / selenium

Open Sikolasol opened this issue 11 years ago • 4 comments

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

Sikolasol avatar Jun 24 '14 14:06 Sikolasol

Someone could help me with how to use webception with webdriver ? ^^

Sikolasol avatar Jul 10 '14 12:07 Sikolasol

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.

etki avatar Jul 14 '14 14:07 etki

Hello, I have already done this, it works locally but not on my ftp.

Sikolasol avatar Jul 15 '14 12:07 Sikolasol

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.

etki avatar Jul 16 '14 12:07 etki