Package com.microsoft.playwright
Interface APIRequest
- All Known Implementing Classes:
APIRequestImpl
public interface APIRequest
Exposes API that can be used for the Web API testing. This class is used for creating
APIRequestContext instance
which in turn can be used for sending web requests. An instance of this class can be obtained via Playwright.request(). For more information see APIRequestContext.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault APIRequestContextCreates new instances ofAPIRequestContext.newContext(APIRequest.NewContextOptions options) Creates new instances ofAPIRequestContext.
-
Method Details
-
newContext
Creates new instances ofAPIRequestContext.- Since:
- v1.16
-
newContext
Creates new instances ofAPIRequestContext.- Since:
- v1.16
-