Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions external/selenium/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Selenium Protocol for Apache StormCrawler

> **⚠️ Deprecated:** The Selenium module is deprecated and will be removed in the next major release of StormCrawler.

This project provides a **[Selenium](https://www.selenium.dev/)-based protocol implementation** for Apache StormCrawler.

---
Expand Down
2 changes: 1 addition & 1 deletion external/selenium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the License.

<name>stormcrawler-selenium</name>
<url>https://github.com/apache/stormcrawler/tree/master/external/selenium</url>
<description>Selenium-based Protocol for StormCrawler</description>
<description>Selenium-based Protocol for StormCrawler (deprecated - will be removed in the next major release)</description>

<properties>
<selenium.version>4.46.0</selenium.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
import org.jetbrains.annotations.Nullable;
import org.openqa.selenium.remote.RemoteWebDriver;

/**
* @deprecated the Selenium module is deprecated and will be removed in the next major release of
* StormCrawler.
*/
@Deprecated
public abstract class NavigationFilter extends AbstractConfigurable {
/** The end result comes from the first filter to return non-null * */
public abstract @Nullable ProtocolResponse filter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
*
* @see org.apache.stormcrawler.util.Configurable#createConfiguredInstance(Class, Class, Map,
* JsonNode) for more information.
* @deprecated the Selenium module is deprecated and will be removed in the next major release of
* StormCrawler.
*/
@Deprecated
public class NavigationFilters extends NavigationFilter {

public static final NavigationFilters emptyNavigationFilters = new NavigationFilters();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
/**
* Delegates the requests to one or more remote selenium servers. The processes must be started /
* stopped separately. The URLs to connect to are specified with the config 'selenium.addresses'.
*
* @deprecated the Selenium module is deprecated and will be removed in the next major release of
* StormCrawler.
*/
@Deprecated
public class RemoteDriverProtocol extends SeleniumProtocol {

private void substituteUserAgent(Map<String, Object> keyvals, final String userAgentString) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
import org.openqa.selenium.remote.RemoteWebDriver;
import org.slf4j.LoggerFactory;

/**
* @deprecated the Selenium module is deprecated and will be removed in the next major release of
* StormCrawler.
*/
@Deprecated
public abstract class SeleniumProtocol extends AbstractHttpProtocol {

protected static final org.slf4j.Logger LOG = LoggerFactory.getLogger(SeleniumProtocol.class);
Expand Down
Loading