You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full Page screenshot is only capturing the image of the viewport. It shows a blank page for rest of the screen in the screenshot.
I am a newbie and I tried a simple test described in your example in Chrome. Scree
Is any there specific setting options required?
Environment (please complete the following information):
Node.js version: 8.9.4
NPM version: 5.6.0
Browser name and version: Chrome 75
Platform name and version: Windows 10
WebdriverIO version: 5.11.13
wdio-image-comparison-service version: 1.5.0
mocha version: 6.2.0
Additional context
Test.js
varchai=require('chai');constchaiWebdriver=require('chai-webdriverio').default;chai.use(chaiWebdriver(browser));constexpect=chai.expect;describe('Example',()=>{beforeEach(()=>{browser.url('https://webdriver.io');});it('should compare successful with a baseline',()=>{// Check a full page screensexpect(browser.checkFullPageScreen('fullPage',{fullPageScrollTimeout: '3000',})).to.equal(0);});});
wdio.config.js
services: ['selenium-standalone','chromedriver','firefox-profile',['image-comparison',// The options{// Some options, see the docs for more//baselineFolder: join(process.cwd(), './screenshots/auBaseline/'),actualFolder: join(process.cwd(),'./screenshots/testActual'),baselineFolder: join(process.cwd(),'./screenshots/testBaseline'),diffFolder: join(process.cwd(),'./screenshots/testDiff'),formatImageName: '{tag}-{logName}-{width}x{height}',screenshotPath: join(process.cwd(),'./screenshots/'),savePerInstance: true,autoSaveBaseline: true,blockOutStatusBar: true,blockOutToolBar: true,// ... more options}]],
The text was updated successfully, but these errors were encountered:
Full Page screenshot is only capturing the image of the viewport. It shows a blank page for rest of the screen in the screenshot.
I am a newbie and I tried a simple test described in your example in Chrome. Scree
Is any there specific setting options required?
Environment (please complete the following information):
Additional context
Test.js
wdio.config.js
The text was updated successfully, but these errors were encountered: