Skip to content

Commit 1126a38

Browse files
removed get_driver_class function
1 parent 928ad44 commit 1126a38

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

py/conftest.py

-11
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,6 @@ def pytest_generate_tests(metafunc):
102102
metafunc.parametrize("driver", metafunc.config.option.drivers, indirect=True)
103103

104104

105-
def get_driver_class(driver_option):
106-
"""Generate the driver class name from the lowercase driver option."""
107-
if driver_option == "webkitgtk":
108-
driver_class = "WebKitGTK"
109-
elif driver_option == "wpewebkit":
110-
driver_class = "WPEWebKit"
111-
else:
112-
driver_class = driver_option.capitalize()
113-
return driver_class
114-
115-
116105
driver_instance = None
117106
selenium_driver = None
118107

0 commit comments

Comments
 (0)