WindowFinder.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:myautotest 作者: auuppp 项目源码 文件源码
def find_dialog_wildcard(self, wildcard):
        ''' Enumerate all the dialog to find the dialog which title matches the title'''              

        #extra = (self._handle, wildcard)
        try:
            win32gui.EnumWindows(_window_enum_dialog_callback, wildcard)
        except:
            logging.debug("Got the error:")
            logging.debug("win32gui.EnumWindows with " + str(_window_enum_dialog_callback))
            pass

        self.hwnd = top_hwnd
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号