Eval method improvements.

anticaptcha
Pedro de Oliveira Guedes 2022-01-05 15:11:49 -03:00
parent 739b21ddd1
commit c618d8df9f
1 changed files with 3 additions and 1 deletions

View File

@ -202,4 +202,6 @@ class Chrome:
-> ? -> ?
""" """
return self.__request_raw_post__("/ipc/chrome/eval/"+id, command) raw_return = self.__request_raw_post__("/ipc/chrome/eval/"+id, command)
return raw_return['result']['result']['value'] if ('value' in raw_return['result']['result']) else ""