-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
My tests are running fine with WebdriverIO but with Nightwatch I can't locate/share the driver for Percy snapshot.
it('pass the login', async function (app) {
const myElement = await app.element.find(
new By('accessibility id', 'login-button'),
);
// console.log(await myElement.takeScreenshot());
// NOT WORKING
// await percyScreenshot(myElement, 'Login');
// working with WebdriverIO to snapshot the screen
await percyScreenshot('Login');
});
});The exact error is when Percy is trying to evaluate the remoteHostname variable of the driver.
TypeError: Cannot read properties of undefined (reading 'includes')
Metadata
Metadata
Assignees
Labels
No labels