// Client validation button
const validateClient = await page.$(`section:nth-child(6) > div.span3 > div:nth-child(1) > div > div > input[type="file"]`);
await validateClient.uploadFile('/path/to/file.csv'):
name="test"
<form method="GET" action="путь к вашей странице">сюда кнопку и input</form>
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('test');
window.addEventListener("load", function() {
const el = document.querySelector("primer1");
el.innerText=myParam;
});