text: /* eslint-env jest */
  
  import { session } from './session-provider';
  
  describe('Screen Capture', () => {
    describe('takeScreenshot method', () => {
      it('takes a screenshot of the current page', async () => {
        const screenshot = await session.takeScreenshot();
        expect(screenshot.toString('base64')).toMatch(/^iVBOR/);
      });
    });
  });
  