Skip to content

Instantly share code, notes, and snippets.

@christian-bromann
Created September 24, 2014 16:02
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christian-bromann/eace51f4f836aeac4acd to your computer and use it in GitHub Desktop.
Save christian-bromann/eace51f4f836aeac4acd to your computer and use it in GitHub Desktop.
chromeoptions in webdriverio
var client = require("webdriverio").remote({
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['window-size=2880,1800']
}
}
})
@darnold24
Copy link

Is it possible to enable performance logging with chrome options? For example,
chromeOptions: {
perfLoggingPrefs: {
enableNetwork: true
}
}

Here is a link to chromeoptions: https://sites.google.com/a/chromium.org/chromedriver/capabilities

@d668
Copy link

d668 commented Apr 24, 2017

any update? I am looking at porting this answer to webdriverio, to extract redirects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment