I have an element that is out of view when I am using Selenium within an iFrame. I have switched the context using
Driver.SwitchTo.Frame("frame_id")
and I am able to interact with elements that are visible in the iFrame. However when I need to interact with elements that are inside the frame but out of view I cannot find a way to force the Frame to scroll down.
I have tried running some javascript: Scrolling and iframe with Javascript
Also tried using the technique described in the following article
I have tried tabbing on the last visible element to force the frame to scroll down, which works in some cases but I need a more concrete solution.
Any help would be greatly appreciated.