Bug 997045 - Cannot focus on input field when doing element.click().

 - Add a focus parameter to switchToFrame().