private void CreateTempFile(string content)
{
testFile = new System.IO.FileInfo("webdriver.tmp");
if (testFile.Exists)
{
testFile.Delete();
}
System.IO.StreamWriter testFileWriter = testFile.CreateText();
testFileWriter.WriteLine(content);
testFileWriter.Close();
}