File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,7 @@ remote.ui.Client.prototype.getSessionContainer = function() {
172
172
*/
173
173
remote . ui . Client . prototype . execute_ = function ( command ) {
174
174
this . banner_ . setVisible ( false ) ;
175
- var fn = goog . bind ( this . executor_ . execute , this . executor_ , command ) ;
176
- return webdriver . promise . checkedNodeCall ( fn ) .
175
+ return this . executor_ . execute ( command ) .
177
176
then ( bot . response . checkResponse ) ;
178
177
} ;
179
178
@@ -322,7 +321,7 @@ remote.ui.Client.prototype.onLoad_ = function(e) {
322
321
remote . ui . Client . prototype . onScreenshot_ = function ( ) {
323
322
var session = this . sessionContainer_ . getSelectedSession ( ) ;
324
323
if ( ! session ) {
325
- goog . log . warning ( this . log_ ,
324
+ goog . log . warning ( this . log_ ,
326
325
'Cannot take screenshot; no session selected!' ) ;
327
326
return ;
328
327
}
You can’t perform that action at this time.
0 commit comments