blob: 645c5c299e17b4bc1e6b7b98c6522cd4302113da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
const { Builder } = require('selenium-webdriver'),
chrome = require('selenium-webdriver/chrome.js'),
chromeOptions = new chrome.Options();
chromeOptions.addArguments('--headless', '--disable-gpu', '--no-sandbox');
chromeOptions.enableBidi();
let driver;
beforeEach(async () => {
const builder = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions);
driver = builder.build();
});
it.todo('loads default scenario on initial page load');
it.todo('loads previously-loaded scenario on page refresh');
it.todo('loads built-in scenario from dialog');
it.todo('loads custom scenario directly from file');
it.todo('loads saved scenario from file');
afterEach(async () => {
await driver.quit();
});
|