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.
我正在使用 firebug webdriver 将网络流捕获到 .har 文件。我将编写一个解析器来从文件中获取相关信息,但为了自动化这个过程,我需要知道 .har 文件的名称是什么。默认文件名是主机+日期。这个文件有getName api吗?
谢谢!
据我所知没有。在我的项目中,我只是列出目录中的所有 har 文件并选择具有最新创建日期的文件。它总是有效的。