Try to delete obscuring cookie banner
This commit is contained in:
parent
6e766bf73a
commit
cc8921ff73
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue