File tree 2 files changed +3
-6
lines changed
javascript/selenium-atoms
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 16
16
var fired ;
17
17
18
18
// These should work, they just don't.
19
- var CLICKING_WITH_COORDINATES_BROKEN = goog . userAgent . product . SAFARI ||
20
- goog . userAgent . product . ANDROID ||
21
- ( goog . userAgent . product . OPERA &&
22
- bot . userAgent . isEngineVersion ( 12 ) ) ;
19
+ var CLICKING_WITH_COORDINATES_BROKEN =
20
+ goog . userAgent . product . SAFARI || goog . userAgent . product . ANDROID ;
23
21
24
22
// Some browsers support subpixel element locations but not (yet) subpixel events:
25
23
// Chrome: http://crbug.com/396380
Original file line number Diff line number Diff line change @@ -151,8 +151,7 @@ core.text.getElementText = function(element) {
151
151
var isRecentFirefox =
152
152
( goog . userAgent . GECKO && goog . userAgent . VERSION >= '1.8' ) ;
153
153
154
- if ( isRecentFirefox ||
155
- goog . userAgent . WEBKIT || goog . userAgent . OPERA || goog . userAgent . IE ) {
154
+ if ( isRecentFirefox || goog . userAgent . WEBKIT || goog . userAgent . IE ) {
156
155
text = core . text . getTextContent_ ( element , false ) ;
157
156
} else {
158
157
if ( element . textContent ) {
You can’t perform that action at this time.
0 commit comments