How to scroll to a particular element on a web page with SpecFlow?

Let me know how I can scroll to a particular element on a web page with SpecFlow.

Hello Charity,

You need to use the below command:

driver.executescript("window.scrollTo(0, Y)")