Git Product home page Git Product logo

Comments (1)

ZSCharlie avatar ZSCharlie commented on May 20, 2024

你好!非常感谢你的反馈。

根据你提供的信息,我们进行了测试,并确认在1.3.2版本中即使将auto_setup函数中的logdir参数设置为None,snapshot方法依然是可以正常工作的。
你可以在调用snapshot方法时直接传入你希望保存截图的具体路径。示例如下:
snapshot('path/to/your/screenshot.png')

请确保传入的路径是有效的,并且应用程序有足够的权限在该路径下创建和写入文件。如果你在尝试这个方法后遇到任何问题,或者有其他疑问,欢迎继续在此issue中回复,我们会尽快帮助你解决。

我们注意到你选择将logdir参数设置为None,为了我们更好地了解你的使用场景和需求,可以分享一下你选择不填写logdir参数的具体原因预期效果吗?了解这一点对我们很重要,这样我们可以确保未来的版本中更好地满足你和其他用户的需求。

from airtest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.