MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / get_observation

Method get_observation

webarena/browser_env/processors.py:869–874  ·  view source on GitHub ↗
(
        self, page: Page, client: CDPSession, context: str = '',
    )

Source from the content-addressed store, hash-verified

867 return spaces.Dict({"text": text_space, "image": image_space})
868
869 def get_observation(
870 self, page: Page, client: CDPSession, context: str = '',
871 ) -> dict[str, Observation]:
872 text_obs = self.text_processor.process(page, client, context)
873 image_obs = self.image_processor.process(page, client, context)
874 return {"text": text_obs, "image": image_obs}
875
876 def get_observation_metadata(self) -> dict[str, ObservationMetadata]:
877 return {

Callers 1

_get_obsMethod · 0.80

Calls 1

processMethod · 0.45

Tested by

no test coverage detected