xxxxxxxxxx
Step 1: Ctrl + Shift + I
Step 2: Ctrl + Shift + P
Step 3: Type: screenshot
Step 4: You will see option of "Capture full size screenshot"
Click on that and ta daaaaaa!
xxxxxxxxxx
Developer enviroment -> Ctrl+Shift+P -> Type screenshot into the search box. ->
Select Capture full-size screenshot.
xxxxxxxxxx
from selenium import webdriver
# Specify the web driver (e.g., ChromeDriver)
driver = webdriver.Chrome()
# Open the website URL
driver.get("https://www.example.com")
# Capture the full page screenshot
screenshot_path = "screenshot.png"
driver.save_screenshot(screenshot_path)
# Close the browser
driver.quit()