Question d’entretien chez Cognizant

write a program to take screenshot in selenium

Réponse à la question d'entretien

Utilisateur anonyme

9 août 2020

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

1