ПР
let rt = "let xhr = new XMLHttpRequest();"+
"xhr.open('POST', 'http://10.89.235.2:7780/pls/portal30/ais_sys.owa_sec_ais.login_local', true);"+
"xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');"
"xhr.setRequestHeader('User-Agent', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729');" +
"let body = 'p_username=rozen' + '&' + 'p_password=rozenp' + '&' + 'p_url='" + purl + "'; xhr.send(body); );";
await driver.executeScript(rt);
