geckodriver 0.24.0 представляет возможность strictFileInteractability, см. Ниже,
но я не нашел возможности установить эту возможность.
Кодовые испытания:
FirefoxProfile profile=new FirefoxProfile();
// Has no effect
profile.setPreference("strictFileInteractability", true);
...
FirefoxOptions options = new FirefoxOptions();
// Has no effect
options.setCapability("strictFileInteractability", true);
...
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
// Has no effect
capabilities.setCapability("strictFileInteractability", true);
Кому-нибудь удалось успешно установить эту возможность?
Changelog:
github.com/mozilla/geckodriver/releases
w3c.github.io/webdriver/