original_string: public function setModulePosition($module, $position = 'position-7')
  	{
  		$this->amOnPage('administrator/index.php?option=com_modules');
  		$this->searchForItem($module);
  		$this->click(array('link' => $module));
  		$this->waitForText("Modules: $module", 30, array('css' => 'h1.page-title'));
  		$this->click(array('link' => 'Module'));
  		$this->waitForElement(array('id' => 'general'), 30);
  		$this->selectOptionInChosen('Position', $position);
  		$this->click(array('xpath' => "//div[@id='toolbar-apply']/button"));
  		$this->waitForText('Module saved', 30, array('id' => 'system-message-container'));
  	}
code: public function setModulePosition($module, $position = 'position-7')
  	{
  		$this->amOnPage('administrator/index.php?option=com_modules');
  		$this->searchForItem($module);
  		$this->click(array('link' => $module));
  		$this->waitForText("Modules: $module", 30, array('css' => 'h1.page-title'));
  		$this->click(array('link' => 'Module'));
  		$this->waitForElement(array('id' => 'general'), 30);
  		$this->selectOptionInChosen('Position', $position);
  		$this->click(array('xpath' => "//div[@id='toolbar-apply']/button"));
  		$this->waitForText('Module saved', 30, array('id' => 'system-message-container'));
  	}
code_tokens: public function setModulePosition ( $ module , $ position = 'position-7' ) { $ this -> amOnPage ( 'administrator/index.php?option=com_modules' ) ; $ this -> searchForItem ( $ module ) ; $ this -> click ( array ( 'link' => $ module ) ) ; $ this -> waitForText ( "Modules: $module" , 30 , array ( 'css' => 'h1.page-title' ) ) ; $ this -> click ( array ( 'link' => 'Module' ) ) ; $ this -> waitForElement ( array ( 'id' => 'general' ) , 30 ) ; $ this -> selectOptionInChosen ( 'Position' , $ position ) ; $ this -> click ( array ( 'xpath' => "//div[@id='toolbar-apply']/button" ) ) ; $ this -> waitForText ( 'Module saved' , 30 , array ( 'id' => 'system-message-container' ) ) ; }
docstring: Publishes a module on frontend in given position
  
  @param   string  $module    The full name of the module
  @param   string  $position  The template position of a module. Right position by default
  
  @return void
  @throws  \Exception
docstring_tokens: Publishes a module on frontend in given position