MCPcopy
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

useragent_test.jsFile · 0.80
logging_test.jsFile · 0.80
builder_test.jsFile · 0.80
devtools_test.jsFile · 0.80
actions_test.jsFile · 0.80
verifyFailureFunction · 0.80
upload_test.jsFile · 0.80
input_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected