Deserializes a finder from JSON generated by serialize.
Source
static SerializableFinder deserialize(Map<String, String> json) { String finderType = json['finderType']; switch(finderType) { case 'ByValueKey': return ByValueKey.deserialize(json); case 'ByTooltipMessage': return ByTooltipMessage.deserialize(json); case 'ByText': return ByText.deserialize(json); } throw new DriverError('Unsupported search specification type $finderType'); }