File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
from seleniumbase .__version__ import __version__
10
10
from seleniumbase .common import decorators # noqa
11
11
from seleniumbase .common import encryption # noqa
12
+ from seleniumbase .core import colored_traceback
12
13
from seleniumbase .core .browser_launcher import get_driver # noqa
13
14
from seleniumbase .fixtures import js_utils # noqa
14
15
from seleniumbase .fixtures import page_actions # noqa
34
35
pdb .DefaultConfig .enable_hidden_frames = False
35
36
pdb .DefaultConfig .truncate_long_lines = True
36
37
pdb .DefaultConfig .sticky_by_default = True
38
+ colored_traceback .add_hook ()
37
39
if sys .version_info >= (3 , 7 ):
38
40
webdriver .TouchActions = None # Lifeline for past selenium-wire versions
39
41
if sys .version_info >= (3 , 10 ):
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ def SB(
111
111
from seleniumbase import BaseCase
112
112
from seleniumbase import config as sb_config
113
113
from seleniumbase .config import settings
114
- from seleniumbase .core import colored_traceback
115
114
from seleniumbase .fixtures import constants
116
115
from seleniumbase .fixtures import shared_utils
117
116
@@ -770,7 +769,6 @@ def SB(
770
769
sb .headless_active = False
771
770
test_name = None
772
771
terminal_width = shared_utils .get_terminal_width ()
773
- colored_traceback .add_hook ()
774
772
if test :
775
773
import colorama
776
774
import os
You can’t perform that action at this time.
0 commit comments