Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k points)

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?

1 Answer

0 votes
by (62.9k points)

Try the windowmaximize() command:

 selenium.windowMaximize();

You can also set the width and the height of the firefox window using the following command:

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

where X: width and Y: height.

Browse Categories

...