Skip to content

Commit

Permalink
selenium: caps cannot be null, actually
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderankin committed Nov 10, 2023
1 parent fd682bf commit d79270f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selenium/testcontainers/selenium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _configure(self) -> None:
def _connect(self) -> webdriver.Remote:
options = ArgOptions()
caps = options.capabilities
for k, v in (self.capabilities or {}).items(): caps[k] = v # noqa
for k, v in self.capabilities.items(): caps[k] = v # noqa

return webdriver.Remote(
command_executor=(self.get_connection_url()),
Expand Down

0 comments on commit d79270f

Please sign in to comment.