Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler committed Jul 6, 2022
1 parent 42971fc commit 1afb4fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions splinter/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
_DRIVERS['firefox'] = FirefoxWebDriver
_DRIVERS['remote'] = RemoteWebDriver
except ImportError as e:
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler())
logger.debug(f'Import Warning: {e}')

try:
Expand Down
4 changes: 2 additions & 2 deletions splinter/driver/webdriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,8 @@ def search() -> bool:
except StaleElementReferenceException:
return False

if not result:
return True
if result:
return False

return True

Expand Down
4 changes: 0 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ exclude =
docs
.tox

[pytest]
log_cli = true
log_cli_level = DEBUG
addopts = -s

[testenv:tests]
extras = selenium3, zope.testbrowser, django, flask
Expand Down

0 comments on commit 1afb4fb

Please sign in to comment.