Fix selector of download button for AMD drivers
This commit is contained in:
parent
e57b8293c2
commit
981e6d739c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ function Install-AmdSoftwarePackage() {
|
|||
)
|
||||
|
||||
$tempDir = $context.GetTempDirectory();
|
||||
$selector = 'summary:first div.driver:first a:contains("Download")';
|
||||
$selector = '.os-group:first-of-type .driver:first-of-type a:first-of-type';
|
||||
$file = Start-AutomatedDownload $context $url $selector $tempDir;
|
||||
|
||||
Start-Process -Wait -FilePath $file -ArgumentList "/S";
|
||||
|
|
Loading…
Reference in a new issue