recursively delete temporary directories
recursively delete temporary directories

rmdir() will only succeed if the target directory is empty.
use a helper function to recursively delete the target directory
contents before using rmdir() on it.

cedricalfonsi/php-webdriver,OndraM/php-webdriver,OndraM/php-webdriver,OndraM/php-webdriver,cedricalfonsi/php-webdriver,OndraM/php-webdriver