protected function instantiateLocator()
	{
		if (empty($this->config['locator class']))
		{
			$this->locator = new Locators;

			return;
		}

		$class         = $this->config['locator class'];
		$this->locator = new $class;
	}
protected function instantiateLocator()
	{
		if (empty($this->config['locator class']))
		{
			$this->locator = new Locators;

			return;
		}

		$class         = $this->config['locator class'];
		$this->locator = new $class;
	}
protected function instantiateLocator ( ) { if ( empty ( $ this -> config [ 'locator class' ] ) ) { $ this -> locator = new Locators ; return ; } $ class = $ this -> config [ 'locator class' ] ; $ this -> locator = new $ class ; }
Function to instantiate the Locator Class, In case of a custom Template,
path to the custom Template Locator could be passed in Acceptance.suite.yml file

for example: If the Class is present at _support/Page/Acceptance folder, simple add a new Parameter in acceptance.suite.yml file

locator class: 'Page\Acceptance\Bootstrap2TemplateLocators'

Locator could be set to null like this

locator class: null

When set to null, Joomla Browser will use the custom Locators present inside Locators.php

@return  void

@since   3.0.0
Function to instantiate the Locator Class In case of a custom Template path to the custom Template Locator could be passed in Acceptance . suite . yml file