is it possible to take screenshot of a particular element in linux.
i am able to take screenshot in windows but it is not working in linux.
here is my sample code to take screenshot
element = driver.find_element_by_id("s_curve")
please any one help its my task from 3 days i totally struck.