I am using Selenium Remote Control and I hate when it starts running the tests when the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I make it so it loads full screen?
+7
A:
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.
Dave Hunt
2009-10-06 08:44:15
A:
for Firefox: sel.key_press_native(122) (122 in the key code for F11)
Maximilian Engelhardt
2010-10-03 10:28:20