UNPKG
playwright-test
Version:
latest (14.1.15)
14.1.15
14.1.13
14.1.12
14.1.11
14.1.10
14.1.9
14.1.8
14.1.7
14.1.6
14.1.5
14.1.4
14.1.3
14.1.2
14.1.1
14.1.0
14.0.0
13.0.1
13.0.0
12.6.1
12.6.0
12.5.0
12.4.3
12.4.2
12.4.1
12.4.0
12.3.8
12.3.7
12.3.6
12.3.5
12.3.4
12.3.3
12.3.2
12.3.1
12.3.0
12.2.0
12.1.2
12.1.1
12.1.0
12.0.0
11.0.4
11.0.3
11.0.2
11.0.1
11.0.0
10.0.1
10.0.0
9.2.0
9.1.0
9.0.0
8.4.0
8.3.0
8.2.0
8.1.2
8.1.1
8.1.0
8.0.0
7.4.1
7.4.0
7.3.0
7.2.2
7.2.1
7.2.0
7.1.2
7.1.1
7.1.0
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
6.0.0
5.0.0
4.1.0
4.0.0
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.1
3.0.0
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
1.2.0
1.1.0
1.0.0
0.7.1
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.1
0.2.0
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Run mocha, zora, uvu, tape and benchmark.js scripts inside real browsers with playwright.
playwright-test
/
static
/
service-worker.js
6 lines
(5 loc)
•
180 B
JavaScript
View Raw
1
2
3
4
5
6
chrome.
action
.
onClicked
.
addListener
(
() =>
{
// No tabs or host permissions needed!
// biome-ignore lint/suspicious/noConsoleLog: <explanation>
console
.
log
(
'Turning red!'
) })