Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh #277 os.environ['WDM_LOG'] = '0' disables logs #343

Merged
merged 2 commits into from
Mar 10, 2022

Conversation

aleksandr-kotlyar
Copy link
Collaborator

@aleksandr-kotlyar aleksandr-kotlyar commented Mar 9, 2022

Closes #277

What

This patch disables webdriver-manager logs. Finally.
To disable logs use:

import os
os.environ["WDM_LOG"] = "0"

before your tests.

P.S. logs are still enabled by default.

Cheers!

Definition of done

image

image

@codecov-commenter
Copy link

codecov-commenter commented Mar 10, 2022

Codecov Report

Merging #343 (14d8164) into master (4268a5c) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #343      +/-   ##
==========================================
+ Coverage   88.64%   88.66%   +0.02%     
==========================================
  Files          11       11              
  Lines         493      494       +1     
  Branches       70       71       +1     
==========================================
+ Hits          437      438       +1     
  Misses         39       39              
  Partials       17       17              
Impacted Files Coverage Δ
webdriver_manager/logger.py 100.00% <100.00%> (ø)
webdriver_manager/utils.py 78.18% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4268a5c...14d8164. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent log-informations?
2 participants