MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / _undot_key

Method _undot_key

seleniumbase/undetected/options.py:22–27  ·  view source on GitHub ↗

Turn a (dotted key, value) into a proper nested dict.

(key, value)

Source from the content-addressed store, hash-verified

20
21 @staticmethod
22 def _undot_key(key, value):
23 """Turn a (dotted key, value) into a proper nested dict."""
24 if "." in key:
25 key, rest = key.split(".", 1)
26 value = ChromeOptions._undot_key(rest, value)
27 return {key: value}
28
29 @staticmethod
30 def _merge_nested(a, b):

Callers 1

handle_prefsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected