Skip to content

Commit d901943

Browse files
committed
Update __init__.py files
1 parent f68ee27 commit d901943

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

seleniumbase/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
from seleniumbase.masterqa.master_qa import MasterQA # noqa
33
from seleniumbase.common import decorators # noqa
44
from seleniumbase.common import encryption # noqa
5+
import sys
6+
if sys.version_info[0] >= 3:
7+
from seleniumbase import translate # noqa
8+
del sys # Undo "import sys" / Simplify "dir(seleniumbase)"

seleniumbase/translate/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from seleniumbase.translate import chinese # noqa
2+
from seleniumbase.translate import dutch # noqa
3+
from seleniumbase.translate import french # noqa
4+
from seleniumbase.translate import italian # noqa
5+
from seleniumbase.translate import japanese # noqa
6+
from seleniumbase.translate import korean # noqa
7+
from seleniumbase.translate import portuguese # noqa
8+
from seleniumbase.translate import russian # noqa
9+
from seleniumbase.translate import spanish # noqa

0 commit comments

Comments
 (0)