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.
1 parent dd4c1ab commit 79007b2Copy full SHA for 79007b2
zendriver/core/keys.py
@@ -316,7 +316,10 @@ def to_cdp_events(
316
)
317
318
case KeyPressEvent.CHAR:
319
- if not isinstance(self.key, str) and self.key not in self.SPECIAL_KEY_CHAR_MAP.keys():
+ if (
320
+ not isinstance(self.key, str)
321
+ and self.key not in self.SPECIAL_KEY_CHAR_MAP.keys()
322
+ ):
323
raise ValueError(
324
f"Key '{self.key}' is not supported for CHAR event type. Only str characters are allowed"
325
0 commit comments