Playwright · Middle · Question 55 of 75

Why use the official Playwright Docker image in CI?

Show the answer

Correct answer: It has browsers and system dependencies preinstalled

Explanation

The image version must match the @playwright/test version. It also gives consistent screenshots between machines.

Further reading

Problem with a question

Playwright · Middle · question 55

Test yourself

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

Take this quiz