Created
December 7, 2016 01:01
-
-
Save romicgd/097b52a2948ed6a2748767740e2a615a to your computer and use it in GitHub Desktop.
NewRelic page load timeout
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
var until = $driver.until; | |
var By = $driver.By; | |
var url = 'http://www.google.com/'; | |
var TIMEOUT = 100; | |
var chai = require('chai'); | |
var chaiWebdriver = require('chai-webdriver'); | |
chai.use(chaiWebdriver($browser)); | |
var expect = chai.expect; | |
require('consoleplusplus'); | |
console.disableColor(); | |
$browser.manage().timeouts().pageLoadTimeout(TIMEOUT); | |
$browser.get(url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment