This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
Socket closed running on windows #3
Comments
This looks like that |
yes, I installed the Cairo from here: http://www.gtk.org/download/win32.php |
Please also install Graphicsmagick |
That solves it! Thank you so much! |
Glad that it works 👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have installed webdrivercss and webdriverjs on my Windows 7(32 bit) machine. When i try to run a basic test as below, it always gives socket closed error.
I checked the selenium server output, it seems like everything is running fine until it reach the point to take screenshot and save it. The folder for screenshot root is already created. I actually use webdriverjs to successfully take a screenshot and save it. So there shouldn't be any write issues.
Any help would be appreciated! Thanks!
Below is my testing file: 'test_webdrivercss.js'
Below is the error output:
Btw, I do the test with a local selenium-server-standalone-2.39.0 server running.
Below is the server console output:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\IEUser>cd c:\webdrivercss
c:\webdrivercss>start-selenium
Jul 02, 2014 6:08:15 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
Setting system property webdriver.chrome.driver to C:\Users\IEUser\AppData\Roami
ng\npm\node_modules\selenium-standalone.selenium\2.42.0\chromedriver
06:08:15.165 INFO - Java: Oracle Corporation 24.60-b09
06:08:15.166 INFO - OS: Windows 7 6.1 x86
06:08:15.180 INFO - v2.42.0, with Core v2.42.0. Built from revision 5e82430
06:08:15.361 INFO - RemoteWebDriver instances should connect to: http://127.0.0.
1:4444/wd/hub
06:08:15.363 INFO - Version Jetty/5.1.x
06:08:15.364 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
06:08:15.364 INFO - Started HttpContext[/selenium-server,/selenium-server]
06:08:15.364 INFO - Started HttpContext[/,/]
06:08:15.421 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@13d99c
06:08:15.421 INFO - Started HttpContext[/wd,/wd]
06:08:15.425 INFO - Started SocketListener on 0.0.0.0:4444
06:08:15.425 INFO - Started org.openqa.jetty.jetty.Server@e771f3
06:08:22.425 INFO - Executing: [new session: Capabilities [{platform=ANY, javasc
riptEnabled=true, browserName=firefox, version=}]])
06:08:22.448 INFO - Creating a new session for Capabilities [{platform=ANY, java
scriptEnabled=true, browserName=firefox, version=}]
06:08:27.131 INFO - Done: [new session: Capabilities [{platform=ANY, javascriptE
nabled=true, browserName=firefox, version=}]]
06:08:27.149 INFO - Executing: [get: http://github.com])
06:08:32.120 INFO - Done: [get: http://github.com]
06:08:32.264 INFO - Executing: [get window size])
06:08:32.286 INFO - Done: [get window size]
06:08:32.292 INFO - Executing: [set window size])
06:08:32.372 INFO - Done: [set window size]
06:08:32.381 INFO - Executing: [execute script: return (function () {
var elemBounding = document.querySelector(arguments[0]).getBoundingC
lientRect();
window.scrollTo(elemBounding.left,elemBounding.top);
}).apply(null, arguments);, [#site-container > div.marketing-section.mar
keting-section-signup > div.container > form]])
06:08:32.403 INFO - Done: [execute script: return (function () {
var elemBounding = document.querySelector(arguments[0]).getBoundingC
lientRect();
window.scrollTo(elemBounding.left,elemBounding.top);
}).apply(null, arguments);, [#site-container > div.marketing-section.mar
keting-section-signup > div.container > form]]
06:08:32.408 INFO - Executing: [take screenshot])
06:08:34.744 INFO - Done: [take screenshot]
06:08:34.831 INFO - Executing: [execute script: return (function () {...}]
06:08:34.880 INFO - Done: [execute script: return (function () {...}]
The text was updated successfully, but these errors were encountered: