I think I have pinned the problem down now, but don't know how to deal with it.
I have the following in a script:
Set Field [Text1; GetLayoutObjectAttribute ("page1";"content")]
The problem with it seems to be that the browser window refreshes just before the step runs. This means that the webpage it refers to has not completed loading up and the only information it can access is the URL. I have tried putting in a Pause step and even a loop, which delays the script, but not the refresh which still happens just before the step.
Does anybody know if there is any way I can prevent this happening or store the contents of the WebViewer without causing a refresh?
Anatole