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

Can I scroll to a particular element on a web page with C#- xUnit?

Hi Tom,

You need to use the following command with xUnit:

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