MCPcopy Create free account
hub / github.com/Rello/analytics / setAnalyticsModel

Function setAnalyticsModel

tests/playwright/26_options_chart.js:39–44  ·  view source on GitHub ↗
(page, selector)

Source from the content-addressed store, hash-verified

37}
38
39async function setAnalyticsModel(page, selector) {
40 await page.locator(selector).evaluate((node) => {
41 node.checked = true;
42 node.dispatchEvent(new Event('change', { bubbles: true }));
43 });
44}
45
46(async () => {
47 const browser = await chromium.launch({ headless: config.headless });

Callers 1

Calls 1

evaluateMethod · 0.80

Tested by

no test coverage detected