You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2024/04/06 14:15:00 UTC

[jira] [Resolved] (NUTCH-3005) Upgrade selenium as needed

     [ https://issues.apache.org/jira/browse/NUTCH-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel resolved NUTCH-3005.
------------------------------------
    Resolution: Implemented

Done by [~lewismc] as part of NUTCH-3036, commit [1563396|https://github.com/apache/nutch/blob/1563396d952393462fffab1f686e9ffd5d006cf6/src/plugin/lib-selenium/src/java/org/apache/nutch/protocol/selenium/HttpWebClient.java#L151] .

> Upgrade selenium as needed
> --------------------------
>
>                 Key: NUTCH-3005
>                 URL: https://issues.apache.org/jira/browse/NUTCH-3005
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.19
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 1.20
>
>
> When we choose to upgrade selenium, we should take note of this blog about changes in headless chromium: https://www.selenium.dev/blog/2023/headless-is-going-away/
> ChromeOptions options = new ChromeOptions();
> options.addArguments("--headless=new");
> WebDriver driver = new ChromeDriver(options);
> driver.get("https://selenium.dev");
> driver.quit();



--
This message was sent by Atlassian Jira
(v8.20.10#820010)