change page name

This commit is contained in:
Matt Charlton 2019-11-27 12:15:39 +00:00
parent dac98b1b6e
commit a3577705e3

View File

@ -8,7 +8,7 @@ PercyScript.run(async (page, percySnapshot) => {
console.log(categories)
})
const page = await page.evaluate (() => {
const homepage = await page.evaluate (() => {
let categories = Array.from(document.querySelectorAll('#categories a'))
console.log(categories)
console.log('test')