Jump to content

How to tell if page has loaded


CCBtx
 Share

This topic is 5791 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a script that is using the web viewer to:

1. Select the URL and;

2. Past the HTML Content to a field for storage

It seems as if the script is running faster than the page can load.

How do I make the script wait for the page to load before it pastes the content?

Link to comment
Share on other sites

Try inserting this into your script assuming that getastext works...:)

Loop

Set Variable[$content ; GetAsText(Webviewerhere)]

Pause 1 second

Exit Loop If[GetAsText(Webviewerhere) = $content]

End Loop

Link to comment
Share on other sites

This topic is 5791 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.