Skip to main content

Log messages and images in HTML file

Project description

Explanation on youtube: https://www.youtube.com/watch?v=b5XPHqWT94s

Logging of screenshot and messages to HTML file. Can be used with selenium, but not necessary. How to use it:

from LoggingSelenium.LogHTML import LogHTML

LogHTML.set_log_path(r"C:\pathToFolderForLogs") LogHTML.set_logging_level(LogHTML.INFO, use_screenshot=True)

LogHTML.screenshot("Screenshot is taken") LogHTML.debug("Random message") LogHTML.info("Random message")

Logging levels: -debug -info -warning -error -critical

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium-logging-0.0.6.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

selenium_logging-0.0.6-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page