开发者

Does twill run javascript correctly/at all?

If I run a twill script to download a web page, will the twill script run any javascript (inline or otherwise) on the page? Will it do it correctly?

Th开发者_StackOverflow中文版e official twill site doesn't seem to indicate whether or not twill supports js (which makes me guess that it doesn't)


From the twill website:

twill strives to be a complete implementation of a Web browser, omitting only JavaScript support.

(that's the very first sentence in the page I linked above)

So I guess the answer to your question is "no, it doesn't".

If that's a problem for you, have you considered using an automated testing platform which integrates with a full standard browser, such as Selenium?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜