Hot answers tagged

3

One possible way is to force a change in a parallel session or in the database with a script. Then you can keep polling for some seconds until the new data becomes visible. I would expect the feature is not to refresh the page, but to refresh to show new data. Test the feature, not only the known behavior, thus test why the page refreshes instead. Ask ...


2

If you're talking about bringing the browser's window within the OS to the foreground. Selenium cannot do that. You need to introduce a library that is able to automate actions on an OS level. Selenium is restricted by javascript's same origin policy. Looks like you're using Java, so you could take a look at awt.Robot. But be aware that any solution you ...


1

Ask development to place a HTML comment that has the timestamp, e.g. <!-- 06-jan-2016 08:09--> or add it to the actual page so that tools that have access to the full dom can easily access it, but make it not display on the browser <div display:none">06-jan-2016 08:09</div> If it has to be present but not visible then <div ...



Only top voted, non community-wiki answers of a minimum length are eligible