public function closeCurrentWindow()
{
// shorthand
$browser = $this->device;
// what are we doing?
$log = usingLog()->startAction("close the current browser window");
// close the current window
$browser->deleteWindow();
// all done
$log->endAction();
}