History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-490
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Tom McGhan
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Ability to read / wait on status bar states

Created: 19/Jun/08 02:51 PM   Updated: 12/Aug/08 05:36 PM
Component/s: Server
Affects Version/s: 0.7, 0.7.1, 0.8.0, 0.9.0, 0.8.1, 0.9.2, 1.0, 1.0.1, 1.0 beta 1
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Any


 Description  « Hide
In browsers that I am aware of, there is a status bar (safari requires that you enable it) which contains various information during page loading and when you hover your mouse over it. While different browsers may have slightly different syntax in the way they present the information, there is some useful things there.

When a page is loading items, There may be a "Loading... XX of XXX items". If the page is doing something in the background (AJAX work or backend access) or initial loading, it usually has a "Waiting for server.com" or some equivalent. When the page has finished, it persists with a "Done" until you hover over something (like a link) that changes the text.

Since this can provide more granular information than some of the page checking tools alone, it would be nice to have access to the text on the bar via selenium's API. Other people might find a waitFor method for the status worthwhile as well.

Something similar to:

void waitForStatusBar(String text);
String getStatusBar();

 All   Comments   Work Log   Change History      Sort Order:
Jennifer Bevan - 20/Jun/08 11:53 AM
I haven't checked to see if this functionality is available via javascript or if it would have to be part of the per-browser capabilities intended for the Selenium 2.0 design. So, the 'affected versions' above is a bit open to question as to whether it should be 1.0 beta 2 (can be accessed via javascript) or 2.0 (cannot, requires separate access method).

Andras Hatvani - 13/Jul/08 12:39 PM
Actually, it is really easy to work with the status bar as it can be accessed via the window.status property in JS. Maybe you could start with this and provide a patch?