Open
Description
DOM properties could be complex objects, even elements. One can return properties using Get Element Property, but we don’t sanitise/serialise the data before returning it across the wire.
I’m assuming this is an omission and that the intended use case for Get Element Property is to allow returning any type that WebDriver supports serialising. The fix is simply to run the internal JSON clone algorithm on result before returning.