How to control IE Explorer with pywinauto

前端 未结 1 572

Ok, so I want to control a IE Explorer with pywinauto. I would like to select text fields on the page and edit them. Is there a way to do this with pywinauto without clicking wh

1条回答
  •  孤独总比滥情好
    2021-01-27 02:53

    Unfortunately no. You can control the window of IE, all the toolbars and buttons, address bar and search bar, etc. But not content of pages within.

    For this task, you need other tools, such as Selenium http://seleniumhq.org/

    As for pywinauto,I strongly recommend to use the utility SWAPY http://code.google.com/p/swapy/. I am the Author of SWAPY. With it you can easily determine whether it is possible to manage the a control with pywinauto or not.

    0 讨论(0)
提交回复
热议问题