I have little problem with making screenshot of whole page. Using webdriverio code such this (below, with firefox) makes me screenshot of whole page, but not with chrome. Author api says, that i need to use webdrivercss, but i dont know how. Anybody, pls help me. How i can change that code.
var webdriverio = require('webdriverio'); var options = { desiredCapabilities: { browserName: 'chrome' } }; var size; webdriverio .remote(options) .init() .windowHandleMaximize(false) .url('http://webdriver.io/') .saveScreenshot('./chrome.png') .end(); For every help, i will be grateful