public function enablePlugin($pluginName)
	{
		$this->amOnPage('/administrator/index.php?option=com_plugins');
		$this->debug('I check for Notices and Warnings');
		$this->checkForPhpNoticesOrWarnings();
		$this->searchForItem($pluginName);
		$this->waitForElement($this->searchResultPluginName($pluginName), 30);
		$this->checkExistenceOf($pluginName);
		$this->click(array('xpath' => "//input[@id='cb0']"));
		$this->click(array('xpath' => "//div[@id='toolbar-publish']/button"));
		$this->see(' enabled', '#system-message-container');
	}
public function enablePlugin($pluginName)
	{
		$this->amOnPage('/administrator/index.php?option=com_plugins');
		$this->debug('I check for Notices and Warnings');
		$this->checkForPhpNoticesOrWarnings();
		$this->searchForItem($pluginName);
		$this->waitForElement($this->searchResultPluginName($pluginName), 30);
		$this->checkExistenceOf($pluginName);
		$this->click(array('xpath' => "//input[@id='cb0']"));
		$this->click(array('xpath' => "//div[@id='toolbar-publish']/button"));
		$this->see(' enabled', '#system-message-container');
	}
public function enablePlugin ( $ pluginName ) { $ this -> amOnPage ( '/administrator/index.php?option=com_plugins' ) ; $ this -> debug ( 'I check for Notices and Warnings' ) ; $ this -> checkForPhpNoticesOrWarnings ( ) ; $ this -> searchForItem ( $ pluginName ) ; $ this -> waitForElement ( $ this -> searchResultPluginName ( $ pluginName ) , 30 ) ; $ this -> checkExistenceOf ( $ pluginName ) ; $ this -> click ( array ( 'xpath' => "//input[@id='cb0']" ) ) ; $ this -> click ( array ( 'xpath' => "//div[@id='toolbar-publish']/button" ) ) ; $ this -> see ( ' enabled' , '#system-message-container' ) ; }
Function to Enable a Plugin

@param   String  $pluginName  Name of the Plugin

@return  void

@since   3.0.0
@throws  \Exception
Function to Enable a Plugin