🕵️♂️
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
| { | |
| "manifest_version": 2, | |
| "name": "MyExtension", | |
| "version": "0.1", | |
| "description": "My awesome chrome extension!", | |
| "browser_action": { | |
| "default_icon": "icon.png", | |
| "default_popup": "index.html" | |
| }, | |
| "background": { |
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
| new GKeyboardHandler(map); | |
| var mapContainer = document.getElementById("map_canvas"); | |
| GEvent.trigger(document, "click", {srcElement: mapContainer, target: mapContainer, nodeType: 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
| /** | |
| * Google StreetView provides keyboard accessibility to navigate with the arrow keys. | |
| * Unfortunately you have to click on the map manually beforehand to activate this. | |
| * This script enables that automatically. | |
| * | |
| * @requires Google Maps API v3 | |
| */ | |
| /** |
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 webdriverjs = require('../index'), | |
| client = webdriverjs.remote({ | |
| host: 'hub.browserstack.com', | |
| port: 80, | |
| logLevel: 'silent', | |
| desiredCapabilities: { | |
| 'browser': 'IE', | |
| 'browser_version': '7.0', | |
| 'os': 'Windows', | |
| 'os_version': 'XP', |
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 webdriverjs = require('../index'), | |
| client = webdriverjs.remote({ | |
| desiredCapabilities: { | |
| browserName: 'chrome', | |
| version: '27', | |
| platform: 'XP', | |
| tags: ['examples'], | |
| name: 'This is an example test' | |
| }, | |
| host: 'ondemand.saucelabs.com', |
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 buster = require("buster"), | |
| webdriverjs = require('webdriverjs'); | |
| buster.testCase("my webdriverjs tests", { | |
| 'setUp': function() { | |
| this.timeout = 9999999; | |
| client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} }); | |
| client.init(); |
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 webdriverjs = require('webdriverjs'); | |
| describe('my webdriverjs tests', function() { | |
| var client = {}; | |
| jasmine.DEFAULT_TIMEOUT_INTERVAL = 9999999; | |
| beforeEach(function() { | |
| client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} }); | |
| client.init(); |
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 chai = require('chai'), | |
| assert = chai.assert, | |
| expect = chai.expect, | |
| webdriverjs = require('webdriverjs'); | |
| describe('my webdriverjs tests', function(){ | |
| this.timeout(99999999); | |
| var 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
| var webdriverjs = require('webdriverjs'), | |
| assert = require('assert'); | |
| describe('my webdriverjs tests', function(){ | |
| this.timeout(99999999); | |
| var client = {}; | |
| before(function(){ | |
| client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} }); |
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 webdriverjs = require('webdriverjs'), | |
| assert = require('assert'); | |
| module.exports = { | |
| setUp: function (callback) { | |
| client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} }); | |
| client.init(); | |
| callback(); |
OlderNewer