Commit 55effdc
committed
feat(electron): move experimental Electron API to a separate package
Extract the experimental Electron automation API out of playwright-core
into a new @playwright/experimental-electron package. The new package is
a pure client built on top of chromium.connectToWorker (Node side) and
chromium.connectOverCDP (Chromium side), so playwright-core no longer
ships any Electron-specific client/server/dispatcher/protocol code.
A few legacy launch options (recordHar, recordVideo, tracesDir,
bypassCSP, artifactsDir) cannot be wired through the public surface
today; they are documented in packages/playwright-electron/features.md
together with the supported workarounds (page.screencast.start,
context.tracing.startHar, etc.).1 parent 5053880 commit 55effdc
File tree
48 files changed
+1337
-2519
lines changed- docs/src/electron-api
- packages
- isomorphic
- playwright-client/types
- playwright-core
- src
- client
- protocol
- server
- chromium
- dispatchers
- electron
- types
- playwright-electron
- src
- protocol/src
- tests
- electron
- installation
- fixture-scripts
- page
- utils
- build
- doclint
- generate_types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+1337
-2519
lines changedLines changed: 5 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 93 | | |
147 | 94 | | |
File renamed without changes.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 306 | | |
313 | 307 | | |
314 | 308 | | |
| |||
0 commit comments