Код настройки кукловода

const puppeteer = require('puppeteer');

describe('My First Puppeteer Test', () => {
    it('should launch the browser', async function() {
        const browser = await puppeteer.launch({
             headless: false, 
             slowMo: 100, 
             devtools: false,
        });
        const page = await browser.newPage();
        await page.goto('https://devexpress.github.io/testcafe/example/');
        await page.type('#developer-name', 'Im a Hacker ;)', {delay: 0 });
        await page.click('#remote-testing', { clickCount: 1 });
        await page.click('#tried-test-cafe', { clickCount: 1 });
        await page.click('#reusing-js-code', { clickCount: 1 });
        await page.click('#background-parallel-testing', { clickCount: 1 });
        await page.click('#continuous-integration-embedding', { clickCount: 1 });
        await page.click('#traffic-markup-analysis', { clickCount: 1 });
        await page.click('#windows', { clickCount: 1 });
        await page.select('#preferred-interface','JavaScript API');
        await page.waitForTimeout(3000);
        await browser.close();
    })
})
Anthony Smith