How to get a full page screenshot in Pytest?

How can I get a full page screenshot?

Hi Richard,

You can take full page screenshot with the below command as shown below:

driver.get(‘Sample page - lambdatest.com’) driver.save_screenshot(‘ss.png’)