I have a Javascript which is used to scroll the web element . I want to convert it to selenium + java code. I tried using java script executor but somehow I'm not able to get the desired result. Here's the javascript that is working fine for me .I have a Javascript which is used to scroll the