Idenitify Vertical Scroll Bar

How to handle Scroll Bar ?

Add Comment
  • 1 Answer(s)

    You have to execute a java script to get the value of  window.scrollX and  window.scrollY.

    String xOffset = dirver.executeScript("return  window.scrollX");
    String yOffset = dirver.executeScript("return  window.scrollY");

    Virender

    Professor Answered on April 20, 2015.
    Add Comment
  • Your Answer

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