Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试自动化浏览器内的小程序。目前我正在使用反射和可访问性进行自动化,但对于浏览器内的小程序,我没有找到任何方法。
谁能提供一种方法或示例代码来做到这一点?
感谢您对问题的看法。
扩展小程序以控制它。一旦扩展,就可以直接访问控件。添加您需要的任何功能以使其自动化。
2种可能性是:
当然,您需要在自己的 HTML 中托管扩展的小程序。