控制使用Python浏览器,在Mac(Firefox或Safari浏览器或Chrome / IUM或Opera) [英] Controlling a browser using Python, on a Mac (Firefox or Safari or Chrome/ium or Opera)
本文介绍了控制使用Python浏览器,在Mac(Firefox或Safari浏览器或Chrome / IUM或Opera)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一种方式来编程控制使用Python在Mac上的浏览器(即非IE)。
I'm looking for a way to programatically control a browser on a Mac (i.e. not IE) using Python.
我需要包括以下链接,如果在一个页面存在的元素检查和提交表单的动作。
The actions I need include following links, checking if elements exist in a page, and submitting forms.
你会推荐哪一个解决方案?
Which solution would you recommend?
推荐答案
看一看PyShell(延期PyXPCOM):
Take a look at PyShell (an extension to PyXPCOM):
http://pyxpcomext.mozdev.org/samples.html#pyshell
这篇关于控制使用Python浏览器,在Mac(Firefox或Safari浏览器或Chrome / IUM或Opera)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文