Taking a partial screenshot of an element by its id is possible in windows, but it is not working in Linux can anyone please solve my problem.
Where I did a mistake in my code.
element = driver.find_element_by_id("s_curve")
when it runs in windows, it successfully downloaded a screenshot of an element. but in Linux, it throws exceptions as webdriver exception in save_screenshot line