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
  • Loading branch information
webjunkie01 committed Oct 8, 2023
1 parent dcff38d commit bc44beb
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 bc44beb

Please sign in to comment.