Selenium cannot take screenshots of a single element using chrome

firefox can capture the complete picture of a single element normally, and chrome will

WebDriverException: Message: unknown command: session/93696d1e0412953043ebd5024870aada/element/0.24383677148808935-1/screenshot

how to solve this problem?

Mar.03,2021
Menu