Window Size for RemoteWebDriver Chrome

388 views Asked by At

I'm trying to change window size for selenium RemoteWebDriver. I execute:

driver.manage().window().maximize();

but it doesn't work when working with RemoteWebDriver and CHROME.

Does anybody know how to solve that?

1

There are 1 answers

1
niktar On

Try this:

this.driver.findElement(By.tagName("body")).sendKeys(Keys.F11);