Answer the question
In order to leave comments, you need to log in
Powershell+Selenium+Chrome how to disable images on a page?
How to disable images on a page when using Powershell+Selenium+Chrome?
Answer the question
In order to leave comments, you need to log in
$uri = "http://yandex.ru"
add-type -path C:\test\selenium\net40\WebDriver.dll
$options = New-Object OpenQA.Selenium.Chrome.ChromeOptions
$options.AddUserProfilePreference("profile.default_content_setting_values.images",2)
$driver = New-Object OpenQA.Selenium.Chrome.ChromeDriver($options)
$driver.url = $uri
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question