Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...