Originally posted by **KirDontsov** February 17, 2024
All of this works:
let _ = caps.add_chrome_arg("enable-automation");
let _ = caps.add_chrome_arg("--no-sandbox");
let _ = caps.add_chrome_arg("--disable-extensions");
let _ = caps.add_chrome_arg("--dns-prefetch-disable");
let _ = caps.add_chrome_arg("--disable-gpu");
All of this not works
let _ = caps.add_chrome_option("pageLoadStrategy", "NONE");
unexpected webdriver error; webdriver returned error: invalid argument: cannot parse capability: goog:chromeOptions
from invalid argument: unrecognized chrome option: pageLoadStrategy
let _ = caps.set_version("103");
unexpected webdriver error; webdriver returned error: invalid argument: unrecognized capability: version
Discussed in https://github.com/stevepryde/thirtyfour/discussions/194