Why do I get the error “Execute failed: Selenium data not available. Please re-run the complete workflow.” when executing my workflow?#q1
The Selenium Nodes depend on a running Web Driver for execution. Due to this fact, it’s not possible to partially re-run a saved workflow after re-opening it, as (1) the Web Driver instance is usually not available any longer and (2) all steps in the workflow thus have to be re-executed. In such cases, please re-execute the workflow beginning from the Start WebDriver node.
I want to use browsers which are running on a remote system. Is that possible?#q4
Sure thing. Select the option RemoteWebDriver in the WebDriver Factory node. You can either set up your own Selenium server by following the instructions given here or use existing services such as BrowserStack. The latter offer a great variety of different platforms, browsers and versions and are therefore perfect for running tests of your web applications.
Are you affiliated with the KNIME.com AG, ThoughtWorks or SeleniumHQ?#q5
What can I do in case something is not working as expected, I’m missing a specific functionality or I have suggestions for additional features?#q6
We’re there to help. However, in case of unexpected behaviour, please perform these simple steps of self-service first: (1) make sure, that you’re running the latest version of the Selenium Nodes (go to File → Update KNIME), and (2) make sure, that you’re running an up-to-date browser.
If this does not help, simply drop us an e-mail, including a sample workflow in case you have any specific issues. In case you’re reporting any errors or failing functionality, please also add the corresponding log output. Therefore enable the DEBUG log level in KNIME’s preferences KNIME → KNIME GUI and re-run the failing action if necessary.
During execution of my workflow I receive an error message which says “Error communicating with the remote browser. It may have died.” or “There are no open windows!” or something similar.#q7
The Selenium Nodes rely on a running browser instance, which must not be closed. During execution, an actual browser instance is started which is then controlled through the KNIME workflow. If you want to run your workflow without any browser windows, use headless Chrome or Firefox (PhantomJS is still available, but now deprecated).
I want to start PhantomJS, but the Start WebDriver node does not finish executing. What’s going on?#q9
In case you’re on Windows, please make sure, that you’re at least using Windows Vista, as stated here.
Is there any possibility to change the user agent when using PhantomJS?#q10
The user agent string can be modified by adding a capability with the key
phantomjs.page.settings.userAgent (mind the camel case) and the value of the user agent in the WebDriver Factory node. There’s a predefined example snippet: Select Change User Agent to Chrome in the Snippets menu and click the Merge button.
My company’s or ISP’s firewall or proxy server blocks access to the software site. Is there any possibility to download the Selenium Nodes anyway?#q11
A zipped version of the software site for KNIME 3.7 is available here (older versions: 3.6, 3.5). In order to use it, download the file, add a new software site as shown in the download instructions, but instead of entering a URL, hit the Archive… button and select the downloaded ZIP file. Proceed as outlined in the instructions. Attention: Keep in mind, that you will have to take care of keeping your installation up-to-date by manually downloading new versions regularly.
How can I download files with the Selenium Nodes?#q14
Downloading files with Selenium is not trivial. One of the most apparent issues is the “Save file” dialog which pops up, when clicking a download link — as soon as this dialog has opened, there is no way to interact with the browser through Selenium any longer. There are workarounds for some browsers which tamper with the download settings to turn off the file dialog, however we suggest a completely different approach when you need to download any files:
hrefdestination from your link with the Extract Attribute node and use the extracted URL for downloading.
XMLHttpRequestwithin the browser session, and hand the file content back to KNIME as a string where you can process it further. This workaround is intended only for smaller files, because the entire file content has to be kept in memory. An example workflow can be found on the examples page.
Although I have entered my valid license information, I get the error message “No license specified. Please obtain a license and enter it on the Selenium preference page in order to use the Selenium nodes.” What’s wrong?#q17
The licensing information is stored within KNIME’s global preferences. To make the license available on a KNIME Server, please refer to the section PREFERENCES AND INI-FILE in the Installation and Administration Guide.
In order to run workflows in batch mode, please export your KNIME preferences to an .epf file using the corresponding menu entry and specify the path to this file on the command line through the following parameter:
How can payments be made?#q18
Payments can be made by credit card and you will receive your license code within seconds. We accept Visa, MasterCard, or American Express cards. Your credit card statement will mention “seleniumnodes.com” as payment receiver. We use Stripe for credit card payments.
Alternatively, you can pay through wire transfer. Following your order, we will send you an invoice which contains our bank information including IBAN and BIC. We’ll send the license code as soon as we have received your payment.
Feel free to drop us a line, in case you need to address any payment questions upfront.
What’s new? Is there a changelog?#q19
Yes, Sir. This way please!
Where’s my trial license? I’ve requested a trial license but not received any email!#q20
You should receive your trial license within twelve hours maximum. In fact, it’s only a matter of minutes in most cases. It is always worth having a look whether the email might have ended up in your spam folder erroneously.
In case you suspect any issues, send us an email and we’re glad to help!
Why should I buy a license at all? Ordering a new trial license each month is sooooo much cheaper!!!1#q21
As our terms and conditions to which you agreed during installation clearly state, the trial licenses are intended for a one time evaluation period. A trial license gives you the opportunity to explore the full functionality of the Selenium Nodes entirely free of charge and without any risk or obligation.
Developing, maintaining, and supporting the Selenium Nodes takes a great amount of time and effort. We hope you see the benefits of our software during the trial phase. Should you want to continue using the Selenium Nodes after the trial period, it is mandatory to purchase a regular license — this will support the constant improvement of the Selenium Nodes.
What is Chrome or Firefox in “headless” mode and how can I use it?#q22
Headless mode means, that these browsers can optionally run without showing any windows and other UI elements, which brings a natural speedup and makes them perfect for testing and automation especially when running in a server environment. Now, that PhantomJS’ original maintainer stepped down, headless Chrome or Firefox are more than adequate replacements.
To enable the headless mode, open the WebDriver Factory node configuration, select either Chrome or Firefox as a WebDriver, and then add the Headless capability from the Snippets menu by clicking the Merge button.
I’m a developer and I want to add functionality to the Selenium Nodes!#q23
Awesome! The Selenium Nodes provide several extension points which you can use to plug your own features. To get started, please have a look at the sample code and documentation in this GitHub repository.
KNIME freezes or crashes on Linux when I try to open a node configuration dialog (e.g. for the “WebDriver Factory”)#q24
Potentially you’ll have to install WebKit afterwards in order to make the “Node Description” view work again.
Will I enter a yearly subscription by bying a license?#q25
No. Your purchase will be for a one year license which will not be automatically extended. To continue using the Selenium Nodes after one year, simply purchase a new license.
When trying to use Internet Explorer with Selenium Nodes, I see an error which says “Unable to get browser”#q26
This issue can be avoided by modifying IE’s security settings as described here.