In selenium 4, is there any method to take a screenshot of the entire page?

🎲 Try a Random Question  |  Total Questions in Quiz: 56  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Selenium Practice Test Questions — practice the complete quiz, review flashcards, or try a random question.

Selenium is an open source umbrella project for a range of tools and libraries aimed at supporting browser automation. It provides a playback tool for authoring functional tests across most modern web browsers, without the need to learn a test scripting language. In short, Selenium automates web browsers.


In selenium 4, is there any method to take a screenshot of the entire page?