I am trying to find a better way to do this than using:
js.ExecuteScript(\"scroll(0, 1300)\");
I have a page where the data can change maki
I am not sure if this will work but you can try getting the max height of your page using something like this:
Math.max($(document).height(), $(window).height())
Then you can scroll using js.ExecuteScript.
I'd still use findElement after that to initate the click.