开发者

Selenium RC single window - how to maximize client frame

I am testing an application to test that must run in Selenium's single window mode. Multi window mode is not an option.

The problem is Selenium's frame takes a big chunk of the browser window.

How can I have the 开发者_开发知识库application frame expand to fill the browser window (and/or shrink the selenium part)?

Test code is in python.


Short of using Selenium.RunScript() to run some JavaScript code that adjusts the dimensions of each frame, you can't.


From the selenium API doc:

window_maximize(self, windowName)

Resize window to take up the entire screen

'windowName' is name of the window to be enlarged

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜