We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
f
%s
1 parent 845e47d commit 82d7891Copy full SHA for 82d7891
1 file changed
py/selenium/webdriver/support/color.py
@@ -177,7 +177,7 @@ def __repr__(self) -> str:
177
self.red, self.green, self.blue, self.alpha)
178
179
def __str__(self) -> str:
180
- return "Color: %s" % self.rgba
+ return f"Color: {self.rgba}"
181
182
183
# Basic, extended and transparent colour keywords as defined by the W3C HTML4 spec
0 commit comments