Getting org.openqa.selenium.WebDriverException: this.getChromeWindowFromDocumentWindow(...) is undefined on window maximize on FF for Selenium 2.49.0
<p>I keep getting the exception while trying to maximize the window.-</p>

<p><code>org.openqa.selenium.WebDriverException: this.getChromeWindowFromDocumentWindow(...) is undefined</code></p>

<p>I am also getting this issue with <strong>2.49.1</strong>. This happens only when I call the <code>driver.manage.window.maximize()</code> method. If I comment this out then the issue doesn't raise its ugly head.</p>

<p>Has anybody else come across this issue? Any idea what could be causing this?</p>

<p>BTW, this is happening on firefox only.</p>