Standalone always wants the local node
import org.openqa.selenium.grid.node.Node;
import org.openqa.selenium.grid.node.ProxyNodeCdp;
import org.openqa.selenium.grid.node.config.NodeOptions;
+import org.openqa.selenium.grid.node.local.LocalNodeFactory;
import org.openqa.selenium.grid.router.Router;
import org.openqa.selenium.grid.server.BaseServerOptions;
import org.openqa.selenium.grid.server.EventBusOptions;
@@ -153,7 +154,7 @@ protected void execute(Config config) {
Route.post("/graphql").to(() -> graphqlHandler),
Route.get("/readyz").to(() -> readinessCheck));
- Node node = new NodeOptions(config).getNode();
+ Node node = LocalNodeFactory.create(config);
combinedHandler.addHandler(node);
distributor.add(node);
