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()
9797 'execute_sql ' => array ('POST ' ),
9898 'location ' => array ('GET ' , 'POST ' ),
9999 'browser_connection ' => array ('GET ' , 'POST ' ),
100+
101+ // specific to Java SeleniumServer
102+ 'file ' => array ('POST ' ),
100103 );
101104 }
102105
@@ -110,9 +113,6 @@ protected function obsoleteMethods()
110113 'speed ' => array ('GET ' , 'POST ' ),
111114 'alert ' => array ('GET ' ),
112115 'visible ' => array ('GET ' , 'POST ' ),
113-
114- // specific to Java SeleniumServer
115- 'file ' => array ('POST ' ),
116116 );
117117 }
118118
@@ -414,12 +414,12 @@ public function log()
414414 if (is_string ($ arg )) {
415415 $ arg = array (
416416 'type ' => $ arg ,
417- )
417+ );
418418 }
419419
420420 $ result = $ this ->curl ('POST ' , '/log ' , $ arg );
421421
422- eeturn $ result ['value ' ];
422+ return $ result ['value ' ];
423423 }
424424
425425 // chaining
You can’t perform that action at this time.
0 commit comments