Try to delete obscuring cookie banner

This commit is contained in:
Manuel Thalmann 2023-07-15 20:56:33 +02:00
parent 6e766bf73a
commit cc8921ff73

View file

@ -22,6 +22,8 @@ function Install-AmdSoftwarePackage() {
$summary.Click();
}
Start-Sleep 10;
$browser.ExecuteScript("document.querySelector('#onetrust-consent-sdk').remove()");
$browser.FindElement([OpenQA.Selenium.By]::CssSelector($downloadSelector)).Click();
}