Skip to content

Commit 7c483b1

Browse files
committed
fix(drivers): moved mixins to their own separate file.
1 parent 6f0287f commit 7c483b1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: iarp_utils/browser/mixins/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import firefox as firefox_mixins

Diff for: iarp_utils/browser/driver_mixins.py renamed to iarp_utils/browser/mixins/firefox.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33

4-
class FirefoxPrintToPDFMixin:
4+
class PrintToPDFMixin:
55

66
def get_driver_options(self):
77
opts = super().get_driver_options()
@@ -14,7 +14,7 @@ def get_driver_options(self):
1414
return opts
1515

1616

17-
class FirefoxDisableGeoLocationAbilitiesMixin:
17+
class DisableGeoLocationAbilitiesMixin:
1818

1919
def get_driver_options(self):
2020
opts = super().get_driver_options()
@@ -27,7 +27,7 @@ def get_driver_options(self):
2727
return opts
2828

2929

30-
class FirefoxDisableGeckodriverLogMixin:
30+
class DisableGeckodriverLogMixin:
3131

3232
def get_driver_service(self, *args, **kwargs):
3333
kwargs.setdefault('log_path', os.devnull)

0 commit comments

Comments
 (0)