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
| function(){return function(){function g(a){throw a;}var h=void 0,i=!0,k=null,l=!1;function n(a){return function(){return this[a]}}function o(a){return function(){return a}}var p,q=this; | |
| function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; | |
| else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function s(a){return a!==h}function ba(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length}function t(a){return"string"==typeof a}function u(a){return"function"==aa(a)}function ca(a){a=aa(a);return"object"= |
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
| <html> | |
| <body> | |
| <p onclick="this.textContent='Error';" style="pointer-events: none;">Pass</p> | |
| </body> | |
| </html> |
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
| Index: py/selenium/webdriver/common/utils.py | |
| =================================================================== | |
| --- py/selenium/webdriver/common/utils.py (revision 16878) | |
| +++ py/selenium/webdriver/common/utils.py (working copy) | |
| @@ -33,3 +33,13 @@ | |
| except socket.error: | |
| return False | |
| +def is_url_connectable(port): | |
| + import urllib2 |
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
| package com.mozilla.seleniumgrid; | |
| import org.openqa.grid.common.RegistrationRequest; | |
| import org.openqa.grid.internal.Registry; | |
| import org.openqa.grid.internal.TestSession; | |
| import org.openqa.grid.internal.listeners.TestSessionListener; | |
| import org.openqa.grid.selenium.proxy.DefaultRemoteProxy; | |
| public class SpeedyGonzales extends DefaultRemoteProxy implements TestSessionListener { |
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
| Index: rake-tasks/crazy_fun/mappings/python.rb | |
| =================================================================== | |
| --- rake-tasks/crazy_fun/mappings/python.rb (revision 17066) | |
| +++ rake-tasks/crazy_fun/mappings/python.rb (working copy) | |
| @@ -181,7 +181,6 @@ | |
| python_dir = dest + slash + (windows? ? "Scripts" : "bin") | |
| pip_install = python_dir + slash + pip_pkg | |
| sh pip_install, :verbose => true | |
| - | |
| sh "#{python_dir}#{slash}python setup.py install", :verbose => true |
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
| from selenium import webdriver | |
| import time | |
| driver = webdriver.Firefox() | |
| driver.get("http://dev.123done.org") | |
| driver.implicitly_wait(3) | |
| driver.find_element_by_css_selector("button").click() | |
| main_window = driver.current_window_handle | |
| all_windows = driver.window_handles |
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
| Index: py/selenium/webdriver/firefox/webdriver.py | |
| =================================================================== | |
| --- py/selenium/webdriver/firefox/webdriver.py (revision 17807) | |
| +++ py/selenium/webdriver/firefox/webdriver.py (working copy) | |
| @@ -33,7 +33,8 @@ | |
| # There is no native event support on Mac | |
| NATIVE_EVENTS_ALLOWED = sys.platform != "darwin" | |
| - def __init__(self, firefox_profile=None, firefox_binary=None, timeout=30): | |
| + def __init__(self, firefox_profile=None, firefox_binary=None, timeout=30, |
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
| {"application_id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", "results": [{"passes": [{"function": "controller.click()"}, {"function": "controller.waitFor()"}, {"function": "controller.click()"}, {"function": "controller.waitFor()"}, {"function": "Controller.open()"}, {"function": "controller.waitFor()"}, {"function": "controller.waitForPageLoad()"}], "fails": [], "passed_function": "test1.js::setupModule", "name": "test1.js::setupModule", "filename": "/var/folders/k8/h9q2wfcn6yxdsm_r9_l3fg040000gn/T/tmpc7ZBqy.mozmill-tests/tests/endurance/testAddons_OpenAndCloseExtensionList/test1.js", "failed": 0, "passed": 7}, {"passes": [{"function": "controller.click()"}, {"function": "controller.waitFor()"}, {"function": "controller.waitFor()"}, {"function": "controller.waitForPageLoad()"}, {"function": "controller.click()"}, {"function": "controller.waitFor()"}, {"function": "controller.click()"}, {"function": "controller.waitFor()"}, {"function": "controller.waitFor()"}, {"function": "controller.waitForPageLoad()"}, {" |
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
| { | |
| "_id": "0500adcb1f62869505e102611e000621", | |
| "_rev": "1-9b27e59258990ba40b29c0881d204ee5", | |
| "application_id": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", | |
| "results": [ | |
| { | |
| "passes": [ | |
| { | |
| "function": "controller.click()" | |
| }, |
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
| # playdoh-specific commands that get playdoh all going so you don't | |
| # have to. | |
| # TODO: Make this rely on things that are not straight-up exec. | |
| class playdoh { | |
| file { "$PROJ_DIR/settings_local.py": | |
| ensure => file, | |
| source => "$PROJ_DIR/settings_local.py-dist", | |
| replace => false; | |
| } |