public function installExtensionFromFolder($path, $type = 'Extension')
	{
		$this->amOnPage('/administrator/index.php?option=com_installer');
		$this->waitForText('Extensions: Install', '30', array('css' => 'H1'));
		$this->click(array('link' => 'Install from Folder'));
		$this->debug('I enter the Path');
		$this->fillField(array('id' => 'install_directory'), $path);
		$this->click(array('id' => 'installbutton_directory'));
		$this->waitForText('was successful', TIMEOUT, array('id' => 'system-message-container'));
		$this->debug("$type successfully installed from $path");
	}