Need help to input USERNAME:PASSWORD variables into Script block

Hello I am working on a config that uses the script block to open a puppeteer session and it works fine until I try to input the USERNAME variable.

const puppeteer = require('puppeteer-extra');
const combo = fs.readFileSync('combolist.txt', 'utf-8');



(async () => {
  const browser = await puppeteer.launch({ headless: false, defaultViewport: { width: 1920, height: 1080 }, args: ['---start-maximized', '--disable-web-security', '--disable-features=site-per-process']});
  const page = await browser.newPage();
  let element, formElement, tabs;

  



await page.goto(`https://SomeSampleSiteHere.com`, { waitUntil: 'networkidle0' });
element = await page.$x(`//*[@id="balance-card-number-field"]`);
	await element[0].click();
element = await page.$x(`//*[@id="balance-card-number-field"]`);
	await element[0].type(`>>> NEED TO PUT USERNAME  VARIABLE HERE <<<`);
element = await page.$x(`//*[@id="hide-textfield"]`);
	await element[0].click();
element = await page.$x(`//button[@id='balance-submit']/span`);
	await element[0].click();

I’ve tried multiple answers from other topics on how to do this but instead of inputting the variable it opens the website and just closes without inputting any info. Any help would be greatly appreciated