Playwright · Senior · Question 46 of 77
What is the trade-off of using CDP sessions in Playwright tests?
- 1They work only in Chromium-based browsers
- 2They can't be used together with fixtures
- 3They make tests run only in headed mode
Show the answer
Correct answer: They work only in Chromium-based browsers
Explanation
CDP gives low-level access like network throttling or coverage, but those tests won't run in Firefox or WebKit.