Navigate on Web Page

T

tp803

How do I simulate a hyperlink on a web page? For example, after the user is
login successfully, I would like to automatically clicks on a Search
hyperlink to load the search page.
 
J

Joel

The hyperlink is usally attached to the href property. I sometimes copy the
href property to the Onclick property. The Select and Click the object like
I would a button.
 
J

Joel

I don't have any code that you can access with these instructions. The code
below is a sample of how I select the hyperlink. Look at the html source
code and search for href and find the name of the object with the link.

set abc = IE.Document.all.item("abc")
abc.onclick = abc.href
abc.select
abc.click
 
T

tp803

Thanks Joe, that is exactly what I needed.

Joel said:
I don't have any code that you can access with these instructions. The code
below is a sample of how I select the hyperlink. Look at the html source
code and search for href and find the name of the object with the link.

set abc = IE.Document.all.item("abc")
abc.onclick = abc.href
abc.select
abc.click
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top