taking a screenshot of a single element.

Hi i am trying to find a way to take a screenshot of a single element
For example, I want to take a screenshot of a housing data in Federal reserve site
Link: https://fred.stlouisfed.org/series/UTSTHPI

I am assuming that if I set pageOptions as
pageOptions': {
'screenshot': True,
}
then I will be able to get a full page screenshot,
but I can't find a way to only screenshot an element
any suggestion? 😢
All-Transactions House Price Index for Utah
Was this page helpful?