← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169864]: Maximize the browser window?

 

Question #169864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169864

    Status: Open => Answered

RaiMan proposed the following answer:
Maximizing the browser window when using Sikuli features usually does
not make sense. The window size should be optimized to be able to
restrict the searches to the content, you want to work with. so you can
use App.window(), to get a base region, that represents this content.

If you for some reason need it maximized use the available key board
shortcuts with type() (Chrome, Firefox, Safari, IE, .. have such a
feature somewhere in their menus backed with a shortcut).

Another possibility (based on App.window()) is to resize the window by
simulating mouse actions on the borders (can easily be implemented as a
function to be reused in all cases).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.