flybywire
flybywire

Reputation: 273922

reduce the size of the selenium frame

I do I reduce the size of the selenium frame, in order to increase the frame of the website I am testing?

Upvotes: 2

Views: 2074

Answers (2)

Igor Brejc
Igor Brejc

Reputation: 19004

You can start the Selenium server in a multiwindow mode:

-multiWindow: puts you into a mode where the test web site executes in a separate window, and selenium supports frames

http://seleniumhq.org/docs/05_selenium_rc.html#server-options

Upvotes: 2

Patrick Lightbody
Patrick Lightbody

Reputation: 4534

If you want to resize the window once you've done multiWindow mode, you can also do getEval("window.resizeTo(X, Y); window.moveTo(0,0);") where X and Y are the width and height of the window you want.

Upvotes: 2

Related Questions