Controlling Browser using Python?

后端 未结 6 649
春和景丽
春和景丽 2020-12-24 13:55

Is it possible to control a web browser like Firefox using Python?

I would want to do things like

  • launch the browser
  • force clicks on URLs
6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-24 14:35

    wxWebConnect is a wxWidgets library for controlling Gecko (Mozilla's rendering engine). Together with wxPython, it would allow you to write your own (minimal) web browser in Python, and hence control clicks.

提交回复
热议问题