Skip to content

Commit 2d76a81

Browse files
committed
FIX: Trade variable name to instantiate_driver
1 parent 768e26f commit 2d76a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botcity/web/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ def check_driver():
260260
self.capabilities = cap
261261
driver_path = self.driver_path or check_driver()
262262
self.driver_path = driver_path
263-
self._driver = self._instance_driver(driver_class=driver_class, func_def_options=func_def_options)
263+
self._driver = self._instantiate_driver(driver_class=driver_class, func_def_options=func_def_options)
264264
self._others_configurations()
265265
self.set_screen_resolution()
266266

267-
def _instance_driver(self, driver_class, func_def_options):
267+
def _instantiate_driver(self, driver_class, func_def_options):
268268
try:
269269
driver = driver_class(**self._get_parameters_to_driver())
270270
except WebDriverException as error:

0 commit comments

Comments
 (0)