How can capture screenshot in selenium.
Question
How can capture screenshot in selenium.
Answer
driver.get_screenshot_as_file(“filename”) with this method we can take screen shot.
How can capture screenshot in selenium.
driver.get_screenshot_as_file(“filename”) with this method we can take screen shot.