Views don't show up when using Selenium nodes

Hello everyone,

I can’t open any views when I’m using Selenium and I have to restart KNIME to be able to see the views.
Anyone else facing the same issues? Any idea what I should do?
It’s very annoying.

3 Likes

Hello @mehrdad_bgh

I’m facing this problem too.
I’ve even changed my WebDriver from Chrome to Firefox but nothings changed ,I would be glad if anyone helps.

Thanks
Mona

2 Likes

Not sure I can follow with the amount of information given. How does the workflow look like? Is there an error? What means “restart”? Does the browser just appear when KNIME is closed? Please provide more details.

Hey Philipp,

Running Selenium nodes sometimes makes Nodes’ and components’ views crash. For example when we have executed part of a workflow which includes Selenium nodes, the component views cannot be displayed later in the current workflow or any other workflow till we restart KNIME. It happens very often specially when webdriver is running in headless mode.

I had this issue in the previous versions of KNIME as well but then I could switch between browsers in KNIME preferences which was a solution to the problem. But since we can no longer do this in recent versions of KNIME, we have to restart KNIME to fix it.

Do you have any idea what’s going on and if there is any fix to this?

:blush:

PS I think @monaJZ or @mehrdad_bgh can provide you with an example workflow which reproduces the issue.

2 Likes

Hi @qqilihq,

Here is an example workflow for my problem: mehrdadbgh-session13b.knwf (51.4 KB)
When I run it two or three times my component view doesn’t work anymore. sometimes it happens at first run.

Br,
Mehrdad

2 Likes

Hi Mehrdad,

thank you for the workflow (interesting application! :slight_smile: ) I have run it several times locally now in KNIME 4.2.3 on macOS, changed the phone selection several times, re-executed, opened the result table view, but I cannot see any issues here so far.

To better understand what’s going on: What does “doesn’t work anymore” actually mean? Do you see any error message or a log output in the “Console” view?

And to confirm: The issue happens (only) with these KNIME JavaScript views nodes? E.g. “Table View”?

On which operating system are you running?

Thanks,
Philipp

1 Like

Hi Philipp,

I’m using Windows 10 64-bit, I made a screen record for you ,hope you get your answers in it.
As you see in video there is no error in console and yes it only happens when I’m using JavaScript views.

I didn’t use any Selenium nodes in second workflow (mehrdadbgh-session13).

Thank you for your time
Mehrdad

4 Likes

Awesome, thanks. I think I know now why it happens and how to fix it. Stay tuned :slight_smile:

1 Like

There’s a fix version 4.6.4 available on the development update site. @armingrudd has the URL – alternatively send me an email to mail@seleniumnodes.com and I’ll send it to you.

Could you please give this version a try and tell me if it’s fixed? If it works for you, I’ll release it within the next days.

Thanks for reporting this!
Philipp

4 Likes

Hi Philipp,

It works perfectly, Thanks for your fast & efficient support.

Br,
Mehrdad

4 Likes

Great to hear. Again thanks for confirming. Version 4.6.4 is now also available on the “regular” releases update site – no need to use the development build any longer.

Details here:

–Philipp

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.