qxf2 / qxf2-page-object-model

Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
https://qxf2.com
MIT License
256 stars 191 forks source link

Fix ImageIO Deprecation Warning #409

Closed rohandudam closed 1 month ago

rohandudam commented 2 months ago

While running the tests, observed following warning:

/Qxf2/qxf2-page-object-model/utils/Gif_Maker.py:21: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use `import imageio.v2 as imageio` or call `imageio.v2.imread` directly.
    images.append(imageio.imread(os.path.join(screenshot_dir_path, files)))