Closed Champollion9012 closed 3 years ago
await self.get_value(js, jsonify=True, timeout=timeout)
The jsonify
arg will trans that array into JSON string.
Or use javascript to JSON.stringify(that_value), Chrome is Javascript friendly and so as ichrome.
Thx, I must need to use the await
at get_value?
Thx, I must need to use the
await
at get_value?
Because it depends on the await tab.send
to send websocket message to Chrome debugging port. And the sync
version of ichrome ichrome.sync_utils
has been deprecated.
I used through ichrome to get a array, want its value. But I always got
{'type': 'object', 'subtype': 'array', 'className': 'Array', 'description': 'Array(5)', 'objectId': '6658223733079180638.11.1'}
How could I get the value of array inside?