public function generatePagePdf(string $view): string 	{ 		$browserFactory = new BrowserFactory(config('custom.chromium_path'));  		// starts headless chrome 		$browser = $browserFactory->createBrowser([ 			'noSandbox' => true, 		]);  		try { 			$page = $browser->createPage();  			$timeout = config('custom.chrome_pdf_timeout_duration') * 1000;  			$page->setHtml($view, (int) $timeout);  			$data = $page->pdf(['printBackground' => true]);  			return base64_decode($data->getBase64((int) $timeout)); 		} finally { 			$browser->close(); 		} 	}