original_string: public function execute($js, $args = [])
      {
          $params = ['script' => $js, 'args' => $args];
          $result = $this->getDriver()->curl(
              $this->getDriver()->factoryCommand('execute', WebDriver_Command::METHOD_POST, $params)
          );
          return isset($result['value'])?$result['value']:false;
      }
code: public function execute($js, $args = [])
      {
          $params = ['script' => $js, 'args' => $args];
          $result = $this->getDriver()->curl(
              $this->getDriver()->factoryCommand('execute', WebDriver_Command::METHOD_POST, $params)
          );
          return isset($result['value'])?$result['value']:false;
      }
code_tokens: public function execute ( $ js , $ args = [ ] ) { $ params = [ 'script' => $ js , 'args' => $ args ] ; $ result = $ this -> getDriver ( ) -> curl ( $ this -> getDriver ( ) -> factoryCommand ( 'execute' , WebDriver_Command :: METHOD_POST , $ params ) ) ; return isset ( $ result [ 'value' ] ) ? $ result [ 'value' ] : false ; }
docstring: Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame
  
  @param string $js
  @param array $args
  @return mixed
docstring_tokens: Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame