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
| import pytest | |
| from selenium.webdriver import Firefox | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support.wait import WebDriverWait | |
| from selenium.webdriver.support.select import Select | |
| locators = { | |
| "fisc": (By.CSS_SELECTOR, '[name="mytextarea"][multiple]') | |
| } |
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
| import os.path | |
| import pytest | |
| import sys | |
| f = os.path.join(os.path.dirname(__file__), "allievi.sssup.it.120601_0_89e253d69250548c5d814019fdd4f1ca.har.json") | |
| def setup_module(module): | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | |
| class TestHar(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
| <?php | |
| require_once(dirname(__FILE__) . '/../PHPWebDriver/WebDriver.php'); | |
| require_once(dirname(__FILE__) . '/../PHPWebDriver/WebDriverProxy.php'); | |
| // yes, i know this is just local for me right now... | |
| require_once '/Users/adam/work/PHPBrowserMobProxy/PHPBrowserMobProxy/Client.php'; | |
| class ProxyTest extends PHPUnit_Framework_TestCase { | |
| protected static $driver; | |
| protected static $client; | |
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
| <?php | |
| require_once('Media.php'); | |
| class PHPWebDriver_WebDriver_Support_HTML5_Video extends PHPWebDriver_WebDriver_Support_HTML5_Media { | |
| protected function gettable_properties() { | |
| $properties = array("width", "height", "videoWidth", "videoHeight", "poster"); | |
| return array_merge(parent::$gettable_media_properties, $properties); | |
| } | |
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
| var pref_service = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("extensions.selenium-ide."); | |
| function Log(category) { | |
| var log = this; | |
| var self = this; | |
| this.category = category; | |
| function LogLevel(level, name) { | |
| this.level = level; | |
| this.name = name; |
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
| # Copyright 2008-2009 WebDriver committers | |
| # Copyright 2008-2009 Google Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
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
| { | |
| "type": "object", | |
| "properties": { | |
| "log": { | |
| "description": "HTTP Archive structure.", | |
| "type": "object", | |
| "properties": { | |
| "version": { | |
| "description": "HAR format version", | |
| "type": "string", |
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 think so, Brain, but where are we going to find a duck and a hose at this hour? | |
| I think so, but where will we find an open tattoo parlor at this time of night? | |
| Wuh, I think so, Brain, but if we didn't have ears, we'd look like weasels. | |
| Uh?; yeah, Brain, but where are we going to find rubber pants our size? | |
| I think so, Brain, but balancing a family and a career ... ooh, it's all too much for me. | |
| Wuh, I think so, Brain, but isn't Regis Philbin already married? | |
| Wuh, I think so, Brain, but burlap chafes me so. | |
| Sure, Brain, but how are we going to find chaps our size? | |
| Uh, I think so, Brain, but we'll never get a monkey to use dental floss. | |
| Uh, I think so Brain, but this time, you wear the tutu. |
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
| body common control | |
| { | |
| bundlesequence => { "packages", "channels", "prickly" }; | |
| } | |
| #http://cfengine.com/manuals/CfengineStdLibrary.html#body-package_005fmethod-yum | |
| body package_method yum | |
| { | |
| package_changes => "bulk"; | |
| package_list_command => "/usr/bin/yum list installed"; |