Playwright · Senior · Question 46 of 77

What is the trade-off of using CDP sessions in Playwright tests?

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.

Further reading

Problem with a question

Playwright · Senior · question 46

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz