Skip to content

Instantly share code, notes, and snippets.

View freynaud's full-sized avatar

François Reynaud freynaud

  • Element34 Solutions GmbH
  • Altendorf, Switzerland
View GitHub Profile
### Eclipse Workspace Patch 1.0
#P selenium
Index: java/server/test/org/openqa/grid/internal/mock/GridHelper.java
===================================================================
--- java/server/test/org/openqa/grid/internal/mock/GridHelper.java (revision 0)
+++ java/server/test/org/openqa/grid/internal/mock/GridHelper.java (revision 0)
@@ -0,0 +1,74 @@
+package org.openqa.grid.internal.mock;
+
+import java.util.Map;
### Eclipse Workspace Patch 1.0
#P selenium
Index: java/server/test/org/openqa/grid/internal/mock/GridHelper.java
===================================================================
--- java/server/test/org/openqa/grid/internal/mock/GridHelper.java (revision 0)
+++ java/server/test/org/openqa/grid/internal/mock/GridHelper.java (revision 0)
@@ -0,0 +1,74 @@
+package org.openqa.grid.internal.mock;
+
+import java.util.Map;
### Eclipse Workspace Patch 1.0
#P selenium
Index: java/server/test/org/openqa/grid/e2e/node/DefaultProxyFindsFirefoxLocationsTest.java
===================================================================
--- java/server/test/org/openqa/grid/e2e/node/DefaultProxyFindsFirefoxLocationsTest.java (revision 15924)
+++ java/server/test/org/openqa/grid/e2e/node/DefaultProxyFindsFirefoxLocationsTest.java (working copy)
@@ -1,132 +0,0 @@
-/*
-Copyright 2011 WebDriver committers
-Copyright 2011 Software Freedom Conservancy
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
failed to create drawable
*** LOG addons.xpi: startup
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /tmp/anonymous3233732697311907234webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:95)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:187)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:93)
{
"commands": [
{
"command": "new session",
"duration": 27113,
"inactivity": 0,
"method": "POST",
"parameter": "{\"desiredCapabilities\":{\"platform\":\"ANY\",\"browserName\":\"firefox\",\"version\":\"\"}}",
"response": "",
"start": 1330426853842,
### Eclipse Workspace Patch 1.0
#P selenium
Index: java/server/src/org/openqa/grid/internal/history/CommandMetrics.java
===================================================================
--- java/server/src/org/openqa/grid/internal/history/CommandMetrics.java (revision 0)
+++ java/server/src/org/openqa/grid/internal/history/CommandMetrics.java (revision 0)
@@ -0,0 +1,65 @@
+package org.openqa.grid.internal.history;
+
+import net.jcip.annotations.Immutable;
/**
* API to query the hub config remotly.
*
* use the API by sending a GET to grid/api/hub/
* with the content of the request in JSON,specifying the
* parameters you're interesting in, for instance, to get
* the timeout of the hub and the registered servlets :
*
* {"configuration":
* [
freynaud 11772 0.0 0.0 13652 1804 pts/0 Sl+ 15:13 0:00 /home/freynaud/.launcher/launcher-linux-i686 -host 127.0.0.1 -port 18973 -console -verbosity FINE -profile desktop -backend software -bin /usr/bin/opera -pd /tmp/opera474771473814584373profile -debugproxy 127.0.0.1:8375 -autotestmode
"capabilities": [
{
"browserName": "firefox",
"version": "3.6",
"maxInstances": 5,
"firefox_binary": "/home/euqe/firefox3.6/firefox" ,
"platform": "LINUX"
}, {
System info: os.name: 'Linux', os.arch: 'i386', os.version: '3.0.0-12-generic', java.version: '1.6.0_23'
Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:175)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:446)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:450)