operasoftware/operadriver — pull request #56 by rjatkins (2012-01-22 10:57:59+00:00)
Title: WebElement frames proxied by PageFactory cause ClassCastException

If OperaDriver is used with a PageObject that is created via PageFactory, all WebElements in that object are wrapped in proxies. This can cause ClassCastExceptions inside OperaDriver.frame(WebElement), as that assumes that it is always given an OperaWebElement. This changeset fixes that, and adds a test case to verify it.