How can I get a full page screenshot with Python-Behave?
Hello Macy,
You can refer to the sample code snippet below to get a full page screenshot with Python-Behave:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://www.example.com")
# Returns and base64 encoded string into image
driver.save_screenshot('./image.png')