开发者

How to detect when Firefox has finished loading a page using Python?

开发者 https://www.devze.com 2023-01-15 13:24 出处:网络
Is it possible to use Python to detect when a 开发者_如何学Goweb page has finished loading in the Firefox browser? I\'m trying to automate some browser tasks using Python and this is the major stumbli

Is it possible to use Python to detect when a 开发者_如何学Goweb page has finished loading in the Firefox browser? I'm trying to automate some browser tasks using Python and this is the major stumbling block for me. Note that this is for small-scale personal use, not a server farm or anything like that. The Firefox browser is in an open window, so I can see what it is doing.

BTW, I'm using Python version 2.6 on a Windows XP PC.

Thanks in advance.


  1. selenium which can execute your scripts.

  2. PythonExt python extension for mozilla.

    Either of these should work.

0

精彩评论

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

关注公众号