public function getHttpBasicAuthForHost($hostname)
{
// this method deliberately has no logging, because it is called
// every single time that we want the browser to go to a new URL
//
// nothing else should really use this
try {
// get the browser adapter
$adapter = $this->st->getDeviceAdapter();
// get the details
$credentials = $adapter->getHttpBasicAuthForHost($hostname);
// all done
return $credentials;
} catch (Exception $e) {
return null;
}
}