How many ways we can take screenshot in Selenium?
There are many ways to take screenshot in selenium.
We can take screenshot using
1.Grabbing the screenshot using system().
2.Save the screenshot as file using write().
3.Using Image class.
4.Using async driver library