diff --git a/build/screenshots.js b/build/screenshots.js index 9f5fd887c6..00fccad3ef 100644 --- a/build/screenshots.js +++ b/build/screenshots.js @@ -31,7 +31,7 @@ driver.manage().timeouts().setScriptTimeout( 40000 ); driver.manage().window().setSize( 1200, 1000 ); - driver.get( 'https://en.wikipedia.org/wiki/PageDoesNotExist?veaction=edit&uselang=' + lang ); + driver.get( 'https://en.wikipedia.org/wiki/Help:Sample_page?veaction=edit&uselang=' + lang ); driver.wait( driver.executeAsyncScript( // This function is converted to a string and executed in the browser diff --git a/build/screenshots.userGuide.js b/build/screenshots.userGuide.js index 14b11ab15d..5b5637250a 100644 --- a/build/screenshots.userGuide.js +++ b/build/screenshots.userGuide.js @@ -18,7 +18,7 @@ done( seleniumUtils.getBoundingRect( [ ve.init.target.toolbar.$element[ 0 ], - $( '#ca-nstab-main' )[ 0 ] + $( '#p-namespaces' )[ 0 ] ] ) ); },