Cognizant Interview Question

write a program to take screenshot in selenium

Interview Answer

Anonymous

Aug 9, 2020

In selenium webdriver Python You can use this command Save_screenshot(‘file name.png/jpg’) or Save_screenshot_as_file(‘filename’)

1