public function iScrollToElement($locator) {
		$el = $this->getSession()->getPage()->find('css', $locator);
		assertNotNull($el, sprintf('The element "%s" is not found', $locator));

		$id = $el->getAttribute('id');
		if(empty($id)) {
			throw new \InvalidArgumentException('Element requires an "id" attribute');
		}

		$js = sprintf("document.getElementById('%s').scrollIntoView(true);", $id);
		$this->getSession()->executeScript($js);
	}