I am trying to run a perl script using selenium webdriver. After successful execution of script, I am getting following error: *
cannot unlink file for C:\Users\\AppData\Local\Temp\89qNk6oDJh\cert8.db: Permission denied at C:/Strawberry/perl/lib/File/Temp.pm line 1616.
*
And the line 1616 in Temp.pm looks like this:
eval { rmtree($self->{REALNAME}, $File::Temp::DEBUG, 0); };
What can be the cause?
My script is simple perl program, it creates a webdriver object and open a URL and gets the title.
$webDriver->close();
to close the browser. It should close browser. – prateek goyal