This file contains 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
import unittest | |
import test_example | |
unittest.main(module=test_example) |
This file contains 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
import junit.framework.Assert; | |
import junit.framework.TestCase; | |
import org.openqa.selenium.*; | |
import org.openqa.selenium.remote.*; | |
import java.net.URL; | |
import java.util.concurrent.TimeUnit; | |
public class TestingUploadSe2Sauce extends TestCase { | |
private RemoteWebDriver driver; |
This file contains 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
import httplib | |
import base64 | |
try: | |
import json | |
except ImportError: | |
import simplejson as json | |
config = {"username": "your-sauce-username", | |
"access-key": "your-sauce-api-key"} |
This file contains 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 | |
# encoding: utf-8 | |
from selenium import webdriver | |
import unittest | |
import nose | |
from nose.plugins.multiprocess import MultiProcess | |
import new | |
import json | |
import httplib |
This file contains 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 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
from threading import Thread | |
from selenium import selenium | |
import time | |
try: | |
import json | |
except ImportError: | |
import simplejson as json | |
USERNAME = "USERNAME" | |
ACCESS_KEY = "ACCESS-KEY" |
This file contains 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
{ | |
"Windows 2003_opera_11": { | |
"Absolute content CSS": { | |
"std": 0.0062160932811327783, | |
"avg": 0.034599971771240232, | |
"values": [ | |
0.030999898910522461, | |
0.030999898910522461, | |
0.032000064849853516, | |
0.046999931335449219, |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE] | |
"iexplore.exe"=dword:0 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Internet Explorer] | |
"Information Bar"=dword:0 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer] | |
"New Windows"=dword:0 |
This file contains 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 | |
# | |
# Restart SauceConnect via Rolling Restart | |
# The port it uses for listening for Selenium Relay | |
# is chosen automatically an ranges between 4441 and 4449 | |
# | |
# Tunnel identifiers are optional, but removing them | |
# from this example would include some tweaking | |
# |
This file contains 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
import pygame, sys | |
from pygame.locals import * | |
pygame.init() | |
FPS = 30 | |
fpsClock = pygame.time.Clock() | |
DISPLAYSURF = pygame.display.set_mode((400, 300), 0, 32) | |
pygame.display.set_caption('Animation'); |
NewerOlder