How to control links2 with Python
How can I execute links2 to o开发者_如何学JAVApen a web page and locate and click a text link with Python?
Is pexpect able to do it? Any examples are appreciated.
Not sure why you want to do this. If you want to grab the web link and process the page content, urllib2 together with an HTML parser (BeautifulSoup for example) may be just fine.
If you do want to simulate moust clicks, you may want to use AutoPy.
Why do you want to use links2? I don't see how you could benefit from that. It is probably better to approach your problem in a different way, like with mechanize or maybe even twill.
Please provide a description of your overall problem instead of that specific question
if you want javascript support use selenium rc with whatever language you are comfortable with
精彩评论