Jump to content
Sign in to follow this  
muhmuuh

Problem with _IELinkClickByText

Recommended Posts

muhmuuh

Hello

I have a problem with _IELinkClickByText

So far it works normally but it doesn't work for one site

Here is the link from the source of the site

<a href="url" id="id"><strong>text</strong></a>

I haven't seen those '<strong>' tags before and actually don't know what is it.

In my code I have

_IELinkClickByText ($oIE, "text")

and it doesn't work (no match)

I think it is because of the 'strong' tags.

What should I do to make it works?

Thanks


I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Share this post


Link to post
Share on other sites
Affe

Hello

I have a problem with _IELinkClickByText

So far it works normally but it doesn't work for one site

Here is the link from the source of the site

<a href="url" id="id"><strong>text</strong></a>

I haven't seen those '<strong>' tags before and actually don't know what is it.

In my code I have

_IELinkClickByText ($oIE, "text")

and it doesn't work (no match)

I think it is because of the 'strong' tags.

What should I do to make it works?

Thanks

http://www.htmlcodetutorial.com/_STRONG.html

That will tell you that the Strong tag basically makes the text within bolded.

You can try using _IELinkClickByText($oIE, "<strong>text</strong>") and see if that works, and if it doesn't, your best bet would be to get the links index and click using that.


[center][/center]

Share this post


Link to post
Share on other sites
muhmuuh

_IELinkClickByText($oIE, "<strong>text</strong>") doesn't work for me :)

It looks I'll have to use link idexes

Thank you


I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Share this post


Link to post
Share on other sites
muhmuuh

omg sorry for spaming

as I copied the link text from the source code I didn't copy the last letter

it works with _IELinkClickByText ($oIE, "text")

again sorry for wasting your time


I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.