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)
Built Distribution
Close
Hashes for selenium_logging-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62de60dcf9226bd6e464dd2462c26c59002c92f029011c02c68f64e4b747ddfc |
|
MD5 | 1fc797920dc0634cd57fea5c27fbd126 |
|
BLAKE2b-256 | 3342684c6e4292821a8a15d21a3cdb329d7c91afbd394241f2db64d6fb011ce5 |