This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I 2013-05-14 21:55:27:167 server.cc(53) Starting WebDriver server on port: '42279' on host: '' | |
I 2013-05-14 21:55:30:354 IECommandExecutor.cpp(575) Persistent hovering set to: 1 | |
I 2013-05-14 21:55:30:496 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:38:933 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:40:648 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:44:179 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:46:794 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:47:209 Browser.cpp(99) No child frame focus. Focus is on top-level frame | |
I 2013-05-14 21:55:47:299 Script.cpp(390) Unknown type of dispatch is found in result, assuming IHTMLElement | |
I 2013-05-14 21:55:47:456 Browser.cpp(99) No child frame focus. Focus is on top-level frame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import time | |
import subprocess | |
import tempfile | |
import zipfile | |
import urllib | |
import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup and start Sauce Connect for your TravisCI build | |
# This script requires your .travis.yml to include the following two private env variables: | |
# SAUCE_USERNAME | |
# SAUCE_ACCESS_KEY | |
# Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
# | |
# Curl and run this script as part of your .travis.yml before_script section: | |
# before_script: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d85df04, pid=2036, tid=136 | |
# | |
# JRE version: 6.0_38-b05 | |
# Java VM: Java HotSpot(TM) Client VM (20.13-b02 mixed mode, sharing windows-x86 ) | |
# Problematic frame: | |
# V [jvm.dll+0x6df04] | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sso ~/Dev • git clone https://code.google.com/p/selenium/ [11:39:04] | |
Cloning into 'selenium'... | |
remote: Counting objects: 215773, done. | |
remote: Finding sources: 100% (215773/215773), done. | |
remote: Total 215773 (delta 132048) | |
Receiving objects: 100% (215773/215773), 726.35 MiB | 1.90 MiB/s, done. | |
Resolving deltas: 100% (132048/132048), done. | |
Checking out files: 100% (9299/9299), done. | |
sso ~/Dev • cd selenium [11:45:33] | |
s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u $USERNAME:$ACCESS-KEY 'http://saucelabs.com/rest/v1/storage/$USERNAME/selenium-server-r11111.jar?overwrite=yay' \ | |
-X POST --data-binary @/path/to/the/selenium-server-r11111.jar \ | |
-v -H "Content-Type: application/octet-stream" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [2]: class C(object): | |
...: def hi(self, k, d=dict()): | |
...: d[k] = 1 | |
...: print d | |
...: | |
In [3]: c = C() | |
In [4]: c.hi(1) | |
{1: 1} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Automatically adds your Selenium wiki name in case it's missing | |
# Place in selenium/.git/hooks | |
# chmod +x selenium/.git/hooks/commit-msg | |
# Append 'export SELENIUM_WIKI_NAME="YourWikiName"' to your bashrc/zshrc | |
echo "Checking commit message..." | |
if [ -z "$(grep -e "^$SELENIUM_WIKI_NAME: " $1)" ]; then | |
echo "Missing Wiki name in commit message, appending" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sso /tmp/selenium • java -jar build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar [13:45:48] | |
Dec 15, 2012 1:45:51 PM org.openqa.grid.selenium.GridLauncher main | |
INFO: Launching a standalone server | |
13:45:57.340 INFO - Java: Apple Inc. 20.12-b01-434 | |
13:45:57.342 INFO - OS: Mac OS X 10.8.2 x86_64 | |
13:45:57.354 INFO - v2.28.0, with Core v2.28.0. Built from revision 18349 | |
13:45:57.449 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
13:45:57.450 INFO - Version Jetty/5.1.x | |
13:45:57.450 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] | |
13:45:57.451 INFO - Started HttpContext[/selenium-server,/selenium-server] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sso /tmp/selenium • java -jar build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar [13:08:25] | |
Dec 15, 2012 1:08:51 PM org.openqa.grid.selenium.GridLauncher main | |
INFO: Launching a standalone server | |
13:08:56.287 INFO - Java: Apple Inc. 20.12-b01-434 | |
13:08:56.288 INFO - OS: Mac OS X 10.8.2 x86_64 | |
13:08:56.300 INFO - v2.28.0, with Core v2.28.0. Built from revision 18349 | |
13:08:56.393 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
13:08:56.394 INFO - Version Jetty/5.1.x | |
13:08:56.395 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] | |
13:08:56.395 INFO - Started HttpContext[/selenium-server,/selenium-server] |