Scroll issue while running selenium script in IE11

The above code was added in my Code to ignore protective mode settings and after doing this selenium scripts started running very slowly. So i added options.RequireWindowFocus = true; in order to run my scripts faster. Now the issue is because of this Focus sometimes my scripts is not able to recognize the elements present in the middle of the page. It either scrolls completely down or doesn’t scroll properly.

I have added the above code in order to resolve the scroll issue but the code is not working the same way always.

Scroll issue while running selenium script in IE11If you see the screen shot there are 3 change buttons. My scripts should scrolldown click on the first one then second and then third

Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.