Skip to content

Commit

Permalink
moved desired_capabilities inside if statement to keep compatibility …
Browse files Browse the repository at this point in the history
…with new versions of selenium (#1202)
  • Loading branch information
webjunkie01 authored Nov 4, 2023
1 parent a5bde92 commit 37206d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splinter/driver/webdriver/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
# Combine user's desired capabilities with default
caps.update(kwargs["desired_capabilities"])

kwargs["desired_capabilities"] = caps
kwargs["desired_capabilities"] = caps

kwargs["command_executor"] = command_executor

Expand Down

0 comments on commit 37206d6

Please sign in to comment.