Skip to content

hermione/v5.2.0

Compare
Choose a tag to compare
@KuznetsovRoman KuznetsovRoman released this 30 Aug 19:17
· 605 commits to master since this release

🚀 Improvements:

Add ability to call assertView on element.

it('element example', async ({browser}) => {
  await browser.url('https://npmjs.com');
  const elem = await browser.$('#main');
  await elem.assertView('plain', {}); // state and options only
});

Equivalent to await browser.assertView('plain', '#main', {})