Start WebDriver

This node starts a Selenium workflow by creating a new WebDriver. A WebDriver serves as an interface to a web browser, and allows to open web pages, control the browser, and extract data from it. The actual WebDriver to use must be configured using an upstream WebDriver Factory node.

The WebDriver is automatically closed, when this node is being reset, or the workflow or KNIME is closed. Additionally, you can explicitly close the browser with a Quit WebDriver node.

Important note: Because of the way Selenium works, KNIME workflows using the Selenium Nodes behave differently than you might be used from other nodes. As a Selenium workflow relies on a running browser instance, it is for example not possible to re-run a saved KNIME workflow from in between after it has been loaded from disk. In such cases, you need to re-run the workflow starting from the initial Start WebDriver node, as the downstream Selenium nodes require a WebDriver instance for operation.

Options

WebDriver

WebDriver
The WebDriver to use (this option is available when the input port is unconnected). Otherwise you can configure this in the corresponding “WebDriver Factory” node. Please see the “WebDriver Factory” node documentation for configuration details.

Navigation

URL
(optional) The URL to load (“knime:” URLs will be resolved to local “file:” URLs, which is useful for testing purposes). Hint: It’s recommended to use the “Navigate” node instead to configure the initial URL -- this allows you re-run a workflow starting at the “Navigate” node without having to re-start the browser.

Timeouts

Page load timeout
The timeout for a page load to finish in milliseconds.
Script timeout
The timeout for asynchronous scripts in milliseconds.
Implicit wait
The amount of time to wait in case an element is searched in the DOM and it is not immediately available. Note: We recommend against using this configuration - instead use the “explicit” waits which you can configure in the “Find Elements” options.

Input Ports

Icon
A configured factory which is used for creating the WebDrivers

Output Ports

Icon
A table with one row and column providing the WebDriver

Popular Predecessors

  • WebDriver Factory57 %
  • Table Row to Variable13 %
  • Table Column to Variable3 %
  • Table Row to Variable1 %
  • Variable Creator1 %
  • String Manipulation (Variable)1 %
  • Reset on Load1 %
  • Try (Data Ports)< 1 %
  • Try (Variable Ports)< 1 %
  • Bulk RemoteWebDriver Factory< 1 %
  • Table Column to Variable< 1 %
  • Counting Loop Start< 1 %
  • Execute JavaScript< 1 %
  • Catch Errors (Var Ports)< 1 %
  • Chunk Loop Start< 1 %
  • Variable Condition Loop End< 1 %
  • Row Filter< 1 %
  • String Manipulation< 1 %
  • WebDriver Factory< 1 %
  • Table Row to Variable< 1 %
  • Table Row To Variable Loop Start< 1 %
  • Table Column to Variable< 1 %
  • Java Edit Variable< 1 %
  • Java Snippet< 1 %
  • DB Reader< 1 %
  • String to Path (Variable)< 1 %
  • Testflow Configuration< 1 %
  • Catch Errors (Generic Ports)< 1 %
  • CSV Writer< 1 %
  • Wait...< 1 %
  • Group Loop Start< 1 %
  • Flow Variable IF Switch (Flow Variable Value)< 1 %
  • Column List Loop Start< 1 %
  • Credentials Configuration< 1 %
  • Take Full Page Screenshot< 1 %
  • Wait< 1 %
  • Generic Loop Start< 1 %
  • Find Elements< 1 %
  • Table Row To Variable Loop Start< 1 %
  • File Reader< 1 %
  • List Files< 1 %
  • Table Creator< 1 %
  • Counting Loop Start< 1 %
  • Recursive Loop Start< 1 %
  • Boolean Input< 1 %
  • String Input< 1 %
  • Value Selection< 1 %
  • Table Row To Variable Run-for-time Loop Start< 1 %
  • CSV Writer< 1 %
  • Autocomplete Text Input< 1 %
  • Math Formula (Variable)< 1 %
  • String Widget< 1 %
  • JSON Input< 1 %
  • String Input (legacy)< 1 %
  • Execute Selenium script (deprecated)< 1 %
  • Table Column to Variable< 1 %
  • Auto-Binner< 1 %
  • String Configuration< 1 %
  • Date&Time-based Row Filter< 1 %

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.