Issue #2269287 by steven.wichers: PressButton method assumes jQuery is available.