Doesn't scroll to element on interaction

Not reproducible Issue #5207690


Oct 27, 2015
This issue is public.
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Expected Results:

Click command should first scroll element into view per:

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Christian F.”

      Changed Assigned To from “Christian F.” to “Mara P.”

      Changed Assigned To from “Mara P.” to “Ben B.”

      Changed Status to “Confirmed”

      Changed Title from “Edge Driver - Doesn't scroll to element on interaction” to “Doesn't scroll to element on interaction”

    • Have seen this as well with certain elements of our UI. For example, we have a large table where the first td element of each row has a checkbox in it. If I try to get the driver to click a checkbox that is not currently in view, it throws an exception because I am waiting on visibility of the element before I click it. Chrome and IE11 find these “not visible” elements just fine and then scroll them into view before clicking them.

    • Microsoft Edge Team

      Changed Assigned To from “Ben B.” to “Stanley H.”

    • What is the status of this issue? It is causing 10-15 failures every run in our test suite that work in every other browser except Edge due to this specific issue.

    • What is the status of this issue? Is there a known release date for a fixed version of WebDriver? This issue is highly annoying for our test suite.

    • Unfortunately there are no updates on the status of this bug, however we can confirm that it is reproducible. We’re working on prioritizing it for fixing once there are enough resources to do so. If possible, and I understand it is not always possible - we would suggest working around this problem until it is fixed by using ExecuteScript and scrolling the element into view before attempting interaction.

    • @Zach I have the same issue and used the workaround Stanley mentioned. It’s a workaround that does not break the other tests for me, so might be worth the time if it’s to annoying.

    • I encounter the same issue with Edge 15.15063
      Watir users you could use the watir-scroll gem.
      OR use the javascript way to scroll browser.execute_script('arguments[0].scrollIntoView();', button)
      Both seem to do the workaround trick for me.

    • Microsoft Edge Team

      Changed Status from “Confirmed” to “Not reproducible”

    • We now scroll the element into view on element interaction. This was fixed by a different change a while ago.

    • Closing as Not Repro as I don’t have the specific bug on hand to dupe it to.

    • For some of elements ,JS Exector - scrollIntoView(true) still not navigating to that element.In my case, i used "window.scrollBy(0, -1000)" to navigate from bottom to top and the element is getting clicked.

      But this is not the case for all elements in Edge browser.The behaviour is weird , where above mentioned Js executor not working for some of elements in Edge browser

      I am facing this problem only with Edge browser.

    You need to sign in to your Microsoft account to add a comment.

    Sign in