Browser Log Says Object

Hi,
I execute a script through Appium and web view in the app that sets a property in a device and then device returns a response back to app. I want to check the response but I cannot manage to access that response. I tried to get the browser log and find the response there but the response is shown as Object and I couldn’t retrieve the details. Is there a way to access that response from Appium?

I also tried to create a function that runs the script and returns the answer but again I couldn’t make it work. How can I access the response?

Hi, use Appium’s methods to locate and get the matching text or element values ​​to access the response.-> getText(), getAttribute…
or you can prove to use driver.getPageSource() to get the entire source code of the current page and search for the response within it.