Fix incorrect code
This commit is contained in:
parent
c3babffe14
commit
383d2467f7
1 changed files with 1 additions and 1 deletions
|
@ -26,5 +26,5 @@ function Start-AutomatedDownload() {
|
||||||
# $options.AddArgument("--headless");
|
# $options.AddArgument("--headless");
|
||||||
$browser = [OpenQA.Selenium.Firefox.FirefoxDriver]::new($options);
|
$browser = [OpenQA.Selenium.Firefox.FirefoxDriver]::new($options);
|
||||||
$browser.Navigate().GoToUrl($url);
|
$browser.Navigate().GoToUrl($url);
|
||||||
$browser.FindElement($buttonSelector).Click();
|
$browser.FindElement([OpenQA.Selenium.By]::CssSelector("$buttonSelector")).Click();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue