When taking a screenshot using Selenium Webdriver on windows with python, the screenshot is saved directly to the path of the program, is there a way to save the .png file t
TakeScreenShot screenshot=new TakeScreenShot(); screenshot.screenShot("screenshots//TestScreenshot//password.png");
it will work , please try.