MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ok

Method ok

py/selenium/webdriver/common/api_request_context.py:68–70  ·  view source on GitHub ↗

Whether the response status is in the 200-299 range.

(self)

Source from the content-addressed store, hash-verified

66
67 @property
68 def ok(self) -> bool:
69 """Whether the response status is in the 200-299 range."""
70 return 200 <= self.status <= 299
71
72 def json(self) -> Any:
73 """Parse the response body as JSON.

Callers 15

collect_files_from_cacheFunction · 0.80
delete_cached_assetFunction · 0.80
ensure_jreFunction · 0.80
parse_java_majorFunction · 0.80
useragent_test.jsFile · 0.80
logging_test.jsFile · 0.80
builder_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected