How to resize/maximize Firefox window during launching Selenium Remote Control?

0
0

I am using Selenium Remote Control . During executing the tests the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I maximize the browser screen?

  • You must to post comments
0
0

Try the windowMaximize command:

selenium.windowMaximize();

You can also set a specific width and height using the following command:

selenium.getEval("window.resizeTo(X, Y); window.moveTo(0,0);")

Where X is the width and Y is the height.

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website