<commit_before>var http = require("http");


exports.command = function(script, callback) 
{
	
	var commandOptions =  {
		path: "/session/:sessionId/execute",
		method: "POST"
	}
	
	var request = this.createRequest(commandOptions, this.proxyResponse(callback));
	var data = JSON.stringify( {"script": script, args: []} );
	request.write(data);
	request.end();
};<commit_msg>Fixed issue #8, i.e. execute method didn't work<commit_after>var http = require("http");


exports.command = function(script, callback) 
{
	
	var commandOptions =  {
		path: "/session/:sessionId/execute",
		method: "POST"
	}
	
	var data = {"script": script, args: []};
	
	this.executeProtocolCommand(
		commandOptions, 
		this.proxyResponse(callback), 
		data
	);
	
};

{'fraction_non_alphanumeric': 0.15881561238223418, 'fraction_numerical': 0.0013458950201884253, 'mean_word_length': 4.430656934306569, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5823942', 'n_tokens_mistral': 258, 'n_tokens_neox': 236, 'n_words': 52}