chenglou / node-huxley

Codeless front-end testing.
MIT License
361 stars 29 forks source link

Fix input focus aura #11

Closed chenglou closed 10 years ago

chenglou commented 11 years ago

A problem on Firefox (unsure about chrome; will check) is that that the focus doesn't appear correctly when the window loses it. The current hack would be to invoke another Firefox window after the process starts so that this new one's focused instead, but meh…

Another idea is to simulate focus using css, but that involves lots of checking.

chenglou commented 11 years ago

Update: webdriver.WebDriver.TargetLocator.prototype.window <- note to self

chenglou commented 10 years ago

In!