SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

Grid console should update automatically when changes occur #1843

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 1843

What steps will reproduce the problem?
1. Start a grid hub
2. View the hub console via a browser
3. Start a remote server that registers with the hub or stop a remote server

What is the expected output? What do you see instead?

I would expect to see the display change to reflect the current status of what is registered
with the Hub.

Instead I see no change at all.  I would expect this to update over some set period
of time, possibly controlled by a command-line option, similar to how my.yahoo.com
does it's periodic refreshing.  If this is done via Java updating the display I would
hope that such updates could be provided in real time as they happen.

What version of the product are you using? On what operating system?

I am using 2.0RC2 on Windows XP with Firefox 4.01 as the browser.

Please provide any additional information below.

You can do a manual refresh to update the screen, but this means changes are hidden
until you do so, which defeats the entire purpose of having a console.

Reported by lvskiprof on 2011-06-14 18:53:01

lukeis commented 8 years ago
The point of the console is to get a snapshot of your grid and verify configuration.
 It was never intended to be a live stream of everything going on with your grid. 
We can add periodic refreshing easily enough, but it's really the same problem.

Since you're able to supply your own servlet to the hub, it'd be great if you wanted
to bang out something that did live streaming and contributed it back.  It's an easy
way to get started with the project and I'm sure others would appreciate the contribution.

Reported by nirvdrum on 2011-06-16 13:23:45

lukeis commented 8 years ago
I am still learning how to use Selenium myself, not to mention HTML/CSS/JavaScript,
and am really only conversant in core Java at this point, which is fine for using Selenium.
 So I am afraid that is a bit beyond me at this point, but if I can get my project
working here to automate our regression testing I will try and give it a go.  But I
am sure that others out there are more knowledgeable as to how to do this.

I think I have a version that might build in Netbeans now (only two test modules have
red flags in the IDE), but I haven't tried to actually build it yet.  Just using it
to look at the source code mostly, with the idea of doing fixes later once I understand
it better.

Reported by lvskiprof on 2011-07-07 23:39:23

lukeis commented 8 years ago

Reported by barancev on 2011-10-12 21:31:23

lukeis commented 8 years ago

Reported by barancev on 2012-06-01 19:42:42

lukeis commented 8 years ago

Reported by barancev on 2013-02-23 17:54:26

lukeis commented 8 years ago
Hi, I was trying to implement this by using a customservlet. I noticed that if we pass
the refresh=x (x being seconds) value in url, the page refreshes every x seconds using
the refresh meta tag. But seems like thats not what we want here. To refresh the page
whenever a node registers or deregisters from hub, we would need to refresh the webpage
from the proxy. Unfortunately, I couldn't find a way to refresh the browser from the
proxy class. Can someone help me by confirming whether there is a way to do this?

Reported by anandj82 on 2013-04-10 07:44:59

lukeis commented 8 years ago

Reported by a.u.savchuk on 2013-08-19 16:22:57

lukeis commented 8 years ago

Reported by barancev on 2013-10-08 20:53:34

lukeis commented 8 years ago
I vote this issue be closed as NAB

Reported by Dima.Kovalenko on 2014-10-06 19:00:01

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:44:24