APP property settings

Asked by can

When open the APP (such as the browser), set the APP property (such as the browser, the browser's zoom level)
if there is such a function in Sikuli.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
can
Solved:
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#2

If you may use Selenium-WebDriver with SikuliX, you can call Selenium-WebDriver API from SikuliX-IDE in order to control browser windows size .
[for example:]
load("C:\selenium\selenium-server-standalone-2.47.1.jar")
import org.openqa.selenium.firefox.FirefoxDriver as FD
import org.openqa.selenium.Dimension as Dm
driver = FD()
driver.get("http://www.sikuli.org/")
size = Dm(500,500)
driver.manage().window().setSize(size)

Revision history for this message
can (ting) said :
#3

Perhaps this is the best solution.
Thanks masuo.