0

I have to scroll down to load some contents in selenium IDE. But It's not in the current window. It's subframe. How do I do that?. I know this command works with current window.

<td>storeEval</td>
<td>selenium.browserbot.getCurrentWindow().scrollTo(200,200)</td>
<td></td>
Hideandseek
  • 271
  • 1
  • 4
  • 17
  • This question is a duplicate that has been answered already http://stackoverflow.com/questions/13488359/how-to-automate-mouse-scrolling-event-in-selenium-ide Try there, should give you what you need – Jsmith2800 Feb 05 '15 at 08:44

1 Answers1

0

Select the required frame using selectFrame(locator) command, here locator is an element locator identifying a frame or iframe. Then try to execute your scroll command.

Surya
  • 4,446
  • 2
  • 17
  • 19