File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ protected function methods()
97
97
'execute_sql ' => array ('POST ' ),
98
98
'location ' => array ('GET ' , 'POST ' ),
99
99
'browser_connection ' => array ('GET ' , 'POST ' ),
100
+
101
+ // specific to Java SeleniumServer
102
+ 'file ' => array ('POST ' ),
100
103
);
101
104
}
102
105
@@ -110,9 +113,6 @@ protected function obsoleteMethods()
110
113
'speed ' => array ('GET ' , 'POST ' ),
111
114
'alert ' => array ('GET ' ),
112
115
'visible ' => array ('GET ' , 'POST ' ),
113
-
114
- // specific to Java SeleniumServer
115
- 'file ' => array ('POST ' ),
116
116
);
117
117
}
118
118
@@ -414,12 +414,12 @@ public function log()
414
414
if (is_string ($ arg )) {
415
415
$ arg = array (
416
416
'type ' => $ arg ,
417
- )
417
+ );
418
418
}
419
419
420
420
$ result = $ this ->curl ('POST ' , '/log ' , $ arg );
421
421
422
- eeturn $ result ['value ' ];
422
+ return $ result ['value ' ];
423
423
}
424
424
425
425
// chaining
You can’t perform that action at this time.
0 commit comments