Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in class io.karatelabs.core.ScenarioRuntime
- abort() - Method in class io.karatelabs.core.Suite
- abort() - Method in class io.karatelabs.http.ApacheHttpClient
- abort() - Method in interface io.karatelabs.http.HttpClient
- above(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Create a finder for elements above the reference element.
- above(String) - Method in interface io.karatelabs.driver.Driver
-
Create a finder for elements above the reference element.
- ABOVE - Enum constant in enum class io.karatelabs.driver.Finder.Position
- ABOVE - Static variable in class io.karatelabs.driver.DriverApi
- accept() - Method in class io.karatelabs.driver.cdp.CdpDialog
- accept() - Method in interface io.karatelabs.driver.Dialog
-
Accept the dialog (click OK/Yes).
- accept(HttpRequest, SseConnection) - Method in interface io.karatelabs.http.SseHandler
-
Handle an SSE connection.
- accept(HttpRequest, WsConnection) - Method in interface io.karatelabs.http.WsHandler
-
Handle a WebSocket connection after the upgrade handshake completes.
- accept(String) - Method in class io.karatelabs.driver.cdp.CdpDialog
- accept(String) - Method in interface io.karatelabs.driver.Dialog
-
Accept the dialog with input text (for prompt dialogs).
- ACCEPT - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- acceptAlert() - Method in class io.karatelabs.driver.w3c.W3cSession
- acquire(ScenarioRuntime, Map<String, Object>) - Method in interface io.karatelabs.driver.DriverProvider
-
Acquire a driver instance for a scenario.
- acquire(ScenarioRuntime, Map<String, Object>) - Method in class io.karatelabs.driver.PooledDriverProvider
- acquire(Scenario) - Method in class io.karatelabs.core.ScenarioLockManager
-
Acquire locks for a scenario based on its @lock tags.
- acquireLane() - Method in class io.karatelabs.core.Suite
- ActionDispatchHost - Interface in io.karatelabs.markup
-
Implemented by request-scoped contexts that participate in the POST-handler dispatch chain via the
context.actionsregistry. - activate() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Activate the browser window (bring to front).
- activate() - Method in interface io.karatelabs.driver.Driver
-
Activate the browser window (bring to front).
- activate() - Method in class io.karatelabs.driver.w3c.W3cDriver
- ACTIVATE - Static variable in class io.karatelabs.driver.DriverApi
- actualType() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
actualTyperecord component. - actualValue() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
actualValuerecord component. - ADD - Static variable in interface io.karatelabs.driver.Keys
- addBinding(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Expose a global function
window.<name>(payload)in every execution context. - addCdpEventListener(CdpEventListener) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Add an external event listener that receives all CDP events.
- addCookie(Map<String, Object>) - Method in class io.karatelabs.driver.w3c.W3cSession
- addEmbed(StepResult.Embed) - Method in class io.karatelabs.core.StepResult
- addExternalListener(CdpEventListener) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Add an external event listener that receives all CDP events.
- addFeatureResult(FeatureResult) - Method in class io.karatelabs.core.SuiteResult
- addInitScript(String, String, String...) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Register a named JavaScript module to run in every new document and inject it into the document that is already open.
- addOption(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- addOptions(List<String>) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- addScenarioResult(ScenarioResult) - Method in class io.karatelabs.core.FeatureResult
- addScriptToEvaluateOnNewDocument(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Install a JavaScript source that is evaluated in every new document — the top frame and same-process child frames — before the page's own scripts run, and re-applied on each navigation.
- addSection(FeatureSection) - Method in class io.karatelabs.gherkin.Feature
- addStepResult(StepResult) - Method in class io.karatelabs.core.ScenarioResult
- addSummaryCard(Map<String, Object>) - Method in class io.karatelabs.core.Suite
-
Contribute one KPI summary card to the summary-page hero (a key/value tile, e.g.
- addTag(Tag) - Method in class io.karatelabs.gherkin.Feature
- afterFeature(FeatureResult) - Method in interface io.karatelabs.core.PerfHook
-
Called after a feature completes execution.
- afterScenario() - Method in interface io.karatelabs.core.Channel
- allOf(Object...) - Method in class io.karatelabs.core.TagSelector
- ALLOW - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- allowedOrigins(String...) - Method in class io.karatelabs.http.ServerConfig
- alt(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- alt(String) - Method in interface io.karatelabs.driver.Keys
-
Press Alt+key combination.
- alt(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- ALT - Static variable in interface io.karatelabs.driver.Keys
- AnsiJson - Class in io.karatelabs.output
-
Fast ANSI colorizer for JSON text.
- anyOf(Object...) - Method in class io.karatelabs.core.TagSelector
- ApacheHttpClient - Class in io.karatelabs.http
- ApacheHttpClient() - Constructor for class io.karatelabs.http.ApacheHttpClient
- apiPrefix(String) - Method in class io.karatelabs.http.ServerConfig
- apiPrefixEnabled(boolean) - Method in class io.karatelabs.http.ServerConfig
- appendCaptured(String) - Method in class io.karatelabs.output.LogContext
-
Append previously-captured log content verbatim, bypassing level filtering.
- appendLog(String) - Method in class io.karatelabs.core.StepResult
- apply(KarateConfig) - Method in class io.karatelabs.http.ApacheHttpClient
- apply(KarateConfig) - Method in interface io.karatelabs.http.HttpClient
-
Apply a typed configuration snapshot.
- apply(Runner.Builder, int) - Static method in class io.karatelabs.core.KarateOptionsHandler
-
Apply sysprop/env overrides to the given Builder.
- apply(HttpRequest) - Method in class io.karatelabs.core.MockHandler
- apply(HttpRequest) - Method in class io.karatelabs.http.ServerRequestHandler
- apply(HttpRequestBuilder) - Method in interface io.karatelabs.http.AuthHandler
- apply(HttpRequestBuilder) - Method in class io.karatelabs.http.AuthorizationCodeAuthHandler
- apply(HttpRequestBuilder) - Method in class io.karatelabs.http.BasicAuthHandler
- apply(HttpRequestBuilder) - Method in class io.karatelabs.http.BearerAuthHandler
- apply(HttpRequestBuilder) - Method in class io.karatelabs.http.ClientCredentialsAuthHandler
- apply(HttpResponse, ServerConfig) - Static method in class io.karatelabs.http.SecurityHeaders
-
Apply security headers to an HTTP response based on the server configuration.
- applyEnvAndConfigDir(Runner.Builder) - Static method in class io.karatelabs.core.KarateOptionsHandler
-
Apply only the individual
karate.env/karate.config.dirsysprop and environment-variable overrides to the builder — without parsingkarate.options. - applyFailTag() - Method in class io.karatelabs.core.ScenarioResult
-
Apply @fail tag logic: invert the pass/fail result.
- applyLoggingToContext(LogContext) - Method in class io.karatelabs.core.KarateConfig
-
Push this config's logging settings into the given LogContext.
- applyTo(Runner.Builder) - Method in class io.karatelabs.core.KaratePom
-
Apply this configuration to a Runner.Builder.
- arg() - Method in record class io.karatelabs.core.StepUtils.CallParts
-
Returns the value of the
argrecord component. - arg(String, Object) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- arg(Map<String, Object>) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- arg(Map<String, Object>) - Method in class io.karatelabs.core.MockServer.Builder
-
Set initial arguments (variables) for the mock.
- args() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
argsrecord component. - args(String...) - Method in class io.karatelabs.process.ProcessBuilder
- args(List<String>) - Method in class io.karatelabs.process.ProcessBuilder
- array() - Static method in class io.karatelabs.common.Json
- asList() - Method in class io.karatelabs.common.Json
- asMap() - Method in class io.karatelabs.common.Json
- assertExists() - Method in class io.karatelabs.driver.BaseElement
- asset(String) - Method in class io.karatelabs.core.ReportAssets
-
Add an extra static file copied verbatim to
ext/<name>/(e.g. a vendored library the JS loads at runtime, likestatic/resemble.js). - asSupplier(Object, Context) - Static method in class io.karatelabs.driver.DriverApi
-
Adapt a JS/Java callable argument to a
Supplier<Object>. - attribute(String) - Method in class io.karatelabs.driver.BaseElement
- attribute(String) - Method in interface io.karatelabs.driver.Element
- attribute(String) - Method in class io.karatelabs.driver.w3c.W3cElement
- attribute(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get an attribute of an element.
- attribute(String, String) - Method in interface io.karatelabs.driver.Driver
-
Get an attribute of an element.
- attribute(String, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- ATTRIBUTE - Static variable in class io.karatelabs.driver.DriverApi
- attributeJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get an attribute of an element.
- auth(AuthHandler) - Method in class io.karatelabs.http.HttpRequestBuilder
- AuthHandler - Interface in io.karatelabs.http
- AuthorizationCodeAuthHandler - Class in io.karatelabs.http
-
OAuth 2.0 Authorization Code + PKCE Auth Handler.
- AuthorizationCodeAuthHandler(Map<String, Object>, OAuth2BrowserCallback) - Constructor for class io.karatelabs.http.AuthorizationCodeAuthHandler
B
- back() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Navigate back in history.
- back() - Method in interface io.karatelabs.driver.Driver
-
Navigate back in history.
- back() - Method in class io.karatelabs.driver.w3c.W3cDriver
- back() - Method in class io.karatelabs.driver.w3c.W3cSession
- BACK - Static variable in class io.karatelabs.driver.DriverApi
- Background - Class in io.karatelabs.gherkin
- Background() - Constructor for class io.karatelabs.gherkin.Background
- BACKSPACE - Static variable in interface io.karatelabs.driver.Keys
- backupOutputDir(boolean) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- backupOutputDir(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable/disable backup of existing output directory.
- backupReportDir - Variable in class io.karatelabs.core.Suite
- backupReportDir(boolean) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use backupOutputDir() instead.
- badRequest(String) - Static method in class io.karatelabs.http.HttpResponse
-
Shortcut for
error(400, message). - BASE - Static variable in class io.karatelabs.core.ReportAssets
-
Resource root inside an ext JAR for all asset paths in this spec.
- BaseElement - Class in io.karatelabs.driver
-
Locator-based Element implementation that delegates all operations to a Driver.
- BaseElement(Driver, String, boolean) - Constructor for class io.karatelabs.driver.BaseElement
- baseResource - Variable in class io.karatelabs.core.Suite
- BasicAuthHandler - Class in io.karatelabs.http
- BasicAuthHandler(String, String) - Constructor for class io.karatelabs.http.BasicAuthHandler
- BearerAuthHandler - Class in io.karatelabs.http
- BearerAuthHandler(String) - Constructor for class io.karatelabs.http.BearerAuthHandler
- below(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Create a finder for elements below the reference element.
- below(String) - Method in interface io.karatelabs.driver.Driver
-
Create a finder for elements below the reference element.
- BELOW - Enum constant in enum class io.karatelabs.driver.Finder.Position
- BELOW - Static variable in class io.karatelabs.driver.DriverApi
- binary(byte[]) - Static method in class io.karatelabs.http.HttpResponse
-
200 OK+application/octet-stream. - binary(byte[]) - Static method in class io.karatelabs.http.WsFrame
- BINARY - Enum constant in enum class io.karatelabs.http.WsFrame.Type
- bindJsHelpers(Engine, Driver) - Static method in class io.karatelabs.driver.DriverApi
-
Bind driver action methods as global functions.
- BLUE - Static variable in class io.karatelabs.output.Console
- body(Object) - Method in class io.karatelabs.http.Http
- body(Object) - Method in class io.karatelabs.http.HttpRequestBuilder
- BODY_CLOSE - Static variable in class io.karatelabs.output.Console
- BODY_LANG_END - Static variable in class io.karatelabs.output.Console
- BODY_OPEN - Static variable in class io.karatelabs.output.Console
- bodyJson(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- bold(String) - Static method in class io.karatelabs.output.Console
- BOLD - Static variable in class io.karatelabs.output.Console
- BOOLEAN - Enum constant in enum class io.karatelabs.match.Value.Type
- BOOT_FILE_NAME - Static variable in class io.karatelabs.core.BootLoader
- BootBinding - Class in io.karatelabs.core
-
Backing object for the
bootglobal exposed insidekarate-boot.js. - BootBinding(Suite, Path, String, Consumer<Ext>) - Constructor for class io.karatelabs.core.BootBinding
-
Constructor for tests + advanced callers — decouples the root + listener registration from a fully-instantiated Suite (the production caller,
BootLoader.evalIfPresent(io.karatelabs.core.Suite, java.nio.file.Path, java.lang.String), runs while the Suite is still being built). - BootLoader - Class in io.karatelabs.core
-
Discovers
karate-boot.js(workdir root, then classpath root) and evaluates it once per Suite. - bootOnly(Path, String) - Static method in class io.karatelabs.core.BootLoader
-
Boot-only evaluation: run
karate-boot.jsfor a project working dir and return theBootBindingwithout running any features (noSUITE_ENTER/SUITE_EXIT, no scenarios). - BOUND_METHODS - Static variable in class io.karatelabs.driver.DriverApi
- BRIGHT_CYAN - Static variable in class io.karatelabs.output.Console
- BRIGHT_GREEN - Static variable in class io.karatelabs.output.Console
- BRIGHT_RED - Static variable in class io.karatelabs.output.Console
- BRIGHT_YELLOW - Static variable in class io.karatelabs.output.Console
- brightGreen(String) - Static method in class io.karatelabs.output.Console
- brightRed(String) - Static method in class io.karatelabs.output.Console
- brightYellow(String) - Static method in class io.karatelabs.output.Console
- browserMethod(String) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Create a new CDP message builder for browser-level commands.
- build() - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.Builder.start()instead. - build() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- build() - Method in class io.karatelabs.http.HttpRequestBuilder
- build() - Method in class io.karatelabs.http.MultiPartBuilder
- build() - Method in class io.karatelabs.http.WsClientOptions.Builder
- build() - Method in class io.karatelabs.process.ProcessBuilder
- builder() - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.builder()instead. - builder() - Static method in class io.karatelabs.core.Runner
-
Get a new builder instance.
- builder() - Static method in class io.karatelabs.driver.cdp.CdpDriverOptions
- builder(String) - Static method in class io.karatelabs.http.WsClientOptions
- builder(URI) - Static method in class io.karatelabs.http.WsClientOptions
- Builder() - Constructor for class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- buildLink(String, Map<String, Object>) - Method in class io.karatelabs.markup.MarkupTemplateContext
- buildSessionPayload() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
-
Build the W3C session creation payload.
- buildSuite() - Method in class io.karatelabs.core.Runner.Builder
-
Build the Suite without running it.
- buildUri(String, Map<String, List<String>>) - Static method in class io.karatelabs.http.HttpUtils
-
Build a URI with query parameters from a path and params map.
- BYTES - Enum constant in enum class io.karatelabs.match.Value.Type
C
- CACHE_CONTROL - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- call() - Method in class io.karatelabs.cli.CleanCommand
- call() - Method in class io.karatelabs.cli.MockCommand
- call() - Method in class io.karatelabs.cli.RunCommand
- call() - Method in class io.karatelabs.core.FeatureRuntime
- call() - Method in class io.karatelabs.core.ScenarioRuntime
- call() - Method in class io.karatelabs.Main
- callable() - Method in record class io.karatelabs.core.StepUtils.CallParts
-
Returns the value of the
callablerecord component. - callbackExecutor(ExecutorService) - Method in class io.karatelabs.http.WsClientOptions.Builder
- calleeDelta(Map<String, Object>, Map<String, Object>) - Static method in class io.karatelabs.core.StepUtils
-
The bindings a called feature actually added or replaced — its contribution minus the caller state it merely inherited.
- calleeDelta(Map<String, Object>, Map<String, Object>, Set<String>) - Static method in class io.karatelabs.core.StepUtils
- callOnceCacheStore(Map<String, Map<String, Object>>, Map<String, ReentrantLock>) - Method in class io.karatelabs.core.Runner.Builder
-
Inject pre-allocated callOnce/setupOnce stores (keyed by feature URI).
- CallParts(String, String) - Constructor for record class io.karatelabs.core.StepUtils.CallParts
-
Creates an instance of a
CallPartsrecord class. - callSingleCache(Map<String, Object>, ReentrantLock) - Method in class io.karatelabs.core.Runner.Builder
-
Inject a pre-allocated callSingle cache (and its companion lock).
- cancel() - Method in interface io.karatelabs.http.OAuth2BrowserCallback
-
Optional: Cancel ongoing authorization
- CANCEL - Static variable in interface io.karatelabs.driver.Keys
- canReleaseCallResultsAtScenarioEnd() - Method in class io.karatelabs.core.Suite
-
Whether a scenario's nested call trees can be dropped the moment the scenario ends, rather than waiting for its feature to finish.
- captureCustomPerfEvent(String, long, long) - Method in class io.karatelabs.core.ScenarioRuntime
-
Capture a custom performance event (for non-HTTP operations like DB, gRPC).
- capturePerfEvent(PerfEvent) - Method in class io.karatelabs.core.ScenarioRuntime
-
Capture a performance event for the HTTP request just completed.
- capturePerfEvent(String, long, long) - Method in class io.karatelabs.core.KarateJs
-
Capture a custom performance event (implements PerfContext).
- capturePerfEvent(String, long, long) - Method in interface io.karatelabs.core.PerfContext
-
Capture a custom performance event.
- captureStepLogs(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Collect each step's Karate output — HTTP request / response blocks,
print— intoStepResult.log, which is what the HTML report, the JSONL / JUnit / Cucumber writers and karate-gatling's log replay all read. - CdpClient - Class in io.karatelabs.driver.cdp
-
Chrome DevTools Protocol client built on WebSocket.
- CdpDialog - Class in io.karatelabs.driver.cdp
-
CDP-based implementation of Dialog.
- CdpDriver - Class in io.karatelabs.driver.cdp
-
CDP-based browser driver implementation.
- CdpDriverOptions - Class in io.karatelabs.driver.cdp
-
CDP-specific driver configuration options.
- CdpDriverOptions.Builder - Class in io.karatelabs.driver.cdp
- CdpEvent - Class in io.karatelabs.driver.cdp
-
Wrapper for Chrome DevTools Protocol events with JSONPath extraction.
- CdpEvent(Map<String, Object>) - Constructor for class io.karatelabs.driver.cdp.CdpEvent
- CdpEventListener - Interface in io.karatelabs.driver.cdp
-
Listener interface for CDP events.
- CdpKeys - Class in io.karatelabs.driver.cdp
-
CDP-based implementation of keyboard actions.
- CdpKeys(CdpClient) - Constructor for class io.karatelabs.driver.cdp.CdpKeys
- CdpLauncher - Class in io.karatelabs.driver.cdp
-
CDP-based browser launcher.
- CdpMessage - Class in io.karatelabs.driver.cdp
-
Fluent builder for Chrome DevTools Protocol messages.
- CdpMessage(CdpClient, int, String) - Constructor for class io.karatelabs.driver.cdp.CdpMessage
- CdpMouse - Class in io.karatelabs.driver.cdp
-
CDP-based implementation of mouse actions.
- CdpMouse(CdpClient) - Constructor for class io.karatelabs.driver.cdp.CdpMouse
- CdpMouse(CdpClient, double, double) - Constructor for class io.karatelabs.driver.cdp.CdpMouse
- CdpResponse - Class in io.karatelabs.driver.cdp
-
Wrapper for Chrome DevTools Protocol responses with JSONPath extraction.
- CdpResponse(Map<String, Object>) - Constructor for class io.karatelabs.driver.cdp.CdpResponse
- certFile(File) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.Builder.certPath(String)instead. - certPath(String) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- certPath(String) - Method in class io.karatelabs.core.MockServer.Builder
-
Set the SSL certificate file path (PEM format).
- Channel - Interface in io.karatelabs.core
-
Represents an async channel (e.g. kafka, grpc) created by a
ChannelFactory. - channelActive(ChannelHandlerContext) - Method in class io.karatelabs.http.WsClientHandler
- ChannelFactory - Interface in io.karatelabs.core
-
Factory for creating
Channelinstances. - channelInactive(ChannelHandlerContext) - Method in class io.karatelabs.http.WsClientHandler
- channelRead0(ChannelHandlerContext, FullHttpRequest) - Method in class io.karatelabs.http.HttpServerHandler
- channelRead0(ChannelHandlerContext, Object) - Method in class io.karatelabs.http.WsClientHandler
- charset(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- CHROMEDRIVER - Enum constant in enum class io.karatelabs.driver.w3c.W3cBrowserType
- classpath(String) - Method in class io.karatelabs.core.BootBinding
-
boot.classpath('src/test/resources')— declare the resource root: the directory aclasspath:reference retries against when the classloader misses, and (in a Java Runner-lane run that did not set an explicit working dir) the directory the working dir re-anchors to. - classpathRoot - Variable in class io.karatelabs.core.Suite
-
The
classpath:-miss fallback dir — seeSuite.getClasspathRoot(). - CleanCommand - Class in io.karatelabs.cli
-
The 'clean' subcommand for cleaning Karate output directories.
- CleanCommand() - Constructor for class io.karatelabs.cli.CleanCommand
- cleanScenarioState(Driver) - Method in class io.karatelabs.driver.PooledDriverProvider
-
Tear down scenario-scoped driver state at owner-scenario exit.
- clear() - Method in class io.karatelabs.driver.BaseElement
- clear() - Method in interface io.karatelabs.driver.Element
- clear() - Method in class io.karatelabs.driver.w3c.W3cElement
- clear() - Method in class io.karatelabs.http.InMemorySessionStore
-
Clear all sessions from the store.
- clear() - Static method in class io.karatelabs.output.LogContext
- clear(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Clear an input element.
- clear(String) - Method in interface io.karatelabs.driver.Driver
-
Clear an input element.
- clear(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- CLEAR - Static variable in class io.karatelabs.driver.DriverApi
- CLEAR - Static variable in interface io.karatelabs.driver.Keys
- CLEAR_COOKIES - Static variable in class io.karatelabs.driver.DriverApi
- clearCookieJar() - Method in class io.karatelabs.core.ScenarioRuntime
-
Clear the cookie jar (for clearCookies functionality).
- clearCookies() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Clear all cookies.
- clearCookies() - Method in interface io.karatelabs.driver.Driver
-
Clear all cookies.
- clearCookies() - Method in class io.karatelabs.driver.w3c.W3cDriver
- clearElement(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- clearJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to clear an input element.
- clearRequestDerived() - Method in class io.karatelabs.core.ScenarioRuntime
-
Forget all request-derived values; called by the Mock Server at the start of each request.
- clearToken() - Method in class io.karatelabs.http.OAuth2TokenManager
-
Clear stored token
- click() - Method in class io.karatelabs.driver.BaseElement
- click() - Method in class io.karatelabs.driver.cdp.CdpMouse
- click() - Method in interface io.karatelabs.driver.Element
- click() - Method in interface io.karatelabs.driver.Mouse
-
Click at the current position.
- click() - Method in class io.karatelabs.driver.w3c.W3cElement
- click() - Method in class io.karatelabs.driver.w3c.W3cMouse
- click(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Click an element.
- click(String) - Method in interface io.karatelabs.driver.Driver
-
Click an element.
- click(String) - Method in class io.karatelabs.driver.Finder
-
Click the first matching element.
- click(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- CLICK - Static variable in class io.karatelabs.driver.DriverApi
- clickElement(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- clickJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to click an element.
- CliCommandProvider - Interface in io.karatelabs.cli
-
SPI for ext JARs to contribute
karateCLI subcommands (e.g. - client - Variable in class io.karatelabs.core.KarateJs
- client - Variable in class io.karatelabs.http.WsClientHandler
- ClientCredentialsAuthHandler - Class in io.karatelabs.http
- ClientCredentialsAuthHandler(Map<String, Object>) - Constructor for class io.karatelabs.http.ClientCredentialsAuthHandler
- clientFactory(HttpClientFactory) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use httpClientFactory() instead.
- close() - Method in class io.karatelabs.core.JsonLinesEventWriter
- close() - Method in class io.karatelabs.driver.cdp.CdpClient
- close() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Close the current tab/page.
- close() - Method in class io.karatelabs.driver.cdp.CdpLauncher
-
Close the browser process.
- close() - Method in interface io.karatelabs.driver.Driver
-
Alias for quit().
- close() - Method in class io.karatelabs.driver.w3c.W3cDriver
- close() - Method in class io.karatelabs.http.ApacheHttpClient
- close() - Method in class io.karatelabs.http.ServerMarkupContext
-
Close/invalidate the current session.
- close() - Method in class io.karatelabs.http.SseConnection
-
Close the SSE connection by sending the last chunk and closing the channel.
- close() - Method in class io.karatelabs.http.WsClient
- close() - Method in class io.karatelabs.http.WsConnection
-
Close the WebSocket connection with a normal closure.
- close() - Static method in class io.karatelabs.http.WsFrame
- close() - Method in class io.karatelabs.match.DiskBackedList
- close() - Method in interface io.karatelabs.match.LargeValueStore
-
Closes this store and releases any associated resources (e.g., temp files).
- close() - Method in class io.karatelabs.match.Value
-
Closes any resources held by this value (e.g., disk-backed stores).
- close() - Method in class io.karatelabs.process.ProcessHandle
- close(boolean) - Method in class io.karatelabs.process.ProcessHandle
- close(int, String) - Method in class io.karatelabs.http.WsConnection
-
Close the WebSocket connection with a specific status code and reason.
- close(int, String) - Static method in class io.karatelabs.http.WsFrame
- CLOSE - Enum constant in enum class io.karatelabs.http.WsFrame.Type
- CLOSE - Static variable in class io.karatelabs.driver.DriverApi
- closeAll() - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Close all active drivers.
- closeAll() - Static method in class io.karatelabs.driver.cdp.CdpLauncher
-
Close all active browser instances.
- closeAll() - Static method in class io.karatelabs.http.WsClient
- closeAndWait() - Method in class io.karatelabs.driver.cdp.CdpLauncher
-
Close the browser process and wait for it to terminate.
- closeNow() - Method in class io.karatelabs.http.WsClient
- closest(String) - Method in class io.karatelabs.driver.BaseElement
- closest(String) - Method in interface io.karatelabs.driver.Element
-
The closest ancestor (or self) matching the given CSS selector.
- closestJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate a pure-JS locator that resolves to the closest ancestor (or self) matching the given CSS selector, or
nullif no ancestor matches. - closeWindow() - Method in class io.karatelabs.driver.w3c.W3cSession
- collect() - Method in class io.karatelabs.output.LogContext
-
Get accumulated log and clear buffer (for step/scenario end).
- collectEmbeds() - Method in class io.karatelabs.output.LogContext
-
Collect and clear embeds.
- collectPendingSteps() - Method in class io.karatelabs.output.LogContext
-
Collect and clear the synthetic steps buffered since the last call (flushed per step by the runtime).
- color(String, String...) - Static method in class io.karatelabs.output.Console
- colorize(String) - Static method in class io.karatelabs.output.AnsiJson
-
Colorize JSON text with ANSI codes.
- com.intuit.karate - package com.intuit.karate
- com.intuit.karate.core - package com.intuit.karate.core
- combo(String[], String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- combo(String[], String) - Method in interface io.karatelabs.driver.Keys
-
Press a key combination (e.g., Ctrl+A, Shift+Tab).
- combo(String[], String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- COMMAND - Static variable in interface io.karatelabs.driver.Keys
- commands() - Method in interface io.karatelabs.cli.CliCommandProvider
-
The subcommands this provider contributes.
- commitFieldEventsJs(String) - Static method in class io.karatelabs.driver.Locators
-
The full event sequence a real
<select>change produces, fired on the element expressione. - compareTo(ScenarioResult) - Method in class io.karatelabs.core.ScenarioResult
- completed() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns the value of the
completedrecord component. - compression(boolean) - Method in class io.karatelabs.http.WsClientOptions.Builder
- configDir(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- configDir(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the directory containing karate-config.js.
- configEnvResource - Variable in class io.karatelabs.core.Suite
- ConfigLoader - Class in io.karatelabs.core
-
Config-only evaluation: evaluate a project's
karate-base.js+karate-config.js(+ the env-specifickarate-config-<env>.js) for a working dir and return the merged configMapwithout running any features (noSUITE_ENTER/SUITE_EXIT, no scenarios). - configOnly(Path, String) - Static method in class io.karatelabs.core.ConfigLoader
-
Evaluate config for
workingDirunderenv(nullable → the ambientkarate.env) and return the merged config variables. - configOnly(Path, String, Map<String, String>) - Static method in class io.karatelabs.core.ConfigLoader
-
As
ConfigLoader.configOnly(Path, String), plus a system-property overlay for this evaluation only — the properties the enclosing run is using, so config resolved on its behalf sees the samekarate.sysprop(...)/karate.properties[...]values that run sees. - configPath - Variable in class io.karatelabs.core.Suite
- configResource - Variable in class io.karatelabs.core.Suite
- configure(String, Object) - Method in class io.karatelabs.core.KarateConfig
-
Apply configuration from a key-value pair.
- configure(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
- configure(String, Object) - Method in class io.karatelabs.http.Http
- configure(Map<String, Object>) - Method in class io.karatelabs.http.Http
- connect(WsClientOptions) - Static method in class io.karatelabs.http.WsClient
- connect(String) - Static method in class io.karatelabs.driver.cdp.CdpClient
- connect(String) - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Connect to an existing browser via WebSocket URL.
- connect(String) - Static method in class io.karatelabs.http.WsClient
- connect(String, CdpDriverOptions) - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Connect to an existing browser with options.
- connect(String, W3cDriverOptions) - Static method in class io.karatelabs.driver.w3c.W3cDriver
-
Connect to an existing WebDriver server (remote hub, SauceLabs, etc.).
- connect(String, Duration) - Static method in class io.karatelabs.driver.cdp.CdpClient
- connect(URI) - Static method in class io.karatelabs.http.WsClient
- CONNECT - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- CONNECT_FAILED - Enum constant in enum class io.karatelabs.http.WsException.Type
- CONNECTION_CLOSED - Enum constant in enum class io.karatelabs.http.WsException.Type
- connectNewContext(String, CdpDriverOptions) - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Connect to an existing browser and create a driver that owns a fresh incognito browser context, with its own page inside it.
- connectTimeout(Duration) - Method in class io.karatelabs.http.WsClientOptions.Builder
- Console - Class in io.karatelabs.output
-
Console output utilities with ANSI color support.
- CONSOLE_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for console output (test summary)
- consoleLevel(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the SLF4J/console log level for the "karate" logger.
- contains(Object) - Method in class io.karatelabs.match.Value
- contains(String) - Method in class io.karatelabs.core.TagSelector
- CONTAINS - Enum constant in enum class io.karatelabs.match.Match.Type
- CONTAINS_ANY - Enum constant in enum class io.karatelabs.match.Match.Type
- CONTAINS_ANY_DEEP - Enum constant in enum class io.karatelabs.match.Match.Type
- CONTAINS_DEEP - Enum constant in enum class io.karatelabs.match.Match.Type
- CONTAINS_ONLY - Enum constant in enum class io.karatelabs.match.Match.Type
- CONTAINS_ONLY_DEEP - Enum constant in enum class io.karatelabs.match.Match.Type
- containsAny(Object) - Method in class io.karatelabs.match.Value
- containsDeep(Object) - Method in class io.karatelabs.match.Value
- containsJsonPathWildcard(String) - Static method in class io.karatelabs.core.StepUtils
-
True when an LHS path uses a JsonPath construct that JS can't evaluate:
[*](array wildcard),..(recursive descent), or[?(...)](filter). - containsOnly(Object) - Method in class io.karatelabs.match.Value
- containsOnlyDeep(Object) - Method in class io.karatelabs.match.Value
- containsVariable(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- CONTENT_LENGTH - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- CONTENT_TYPE - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- contentSecurityPolicy(String) - Method in class io.karatelabs.http.ServerConfig
- contentType(String) - Method in class io.karatelabs.http.Http
- contentType(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- contextPath(String) - Method in class io.karatelabs.http.ServerConfig
- CONTROL - Static variable in interface io.karatelabs.driver.Keys
- cookie(Cookie) - Method in class io.karatelabs.http.HttpRequestBuilder
- cookie(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a cookie by name.
- cookie(String) - Method in interface io.karatelabs.driver.CoreDriver
-
Get a cookie by name.
- cookie(String) - Method in interface io.karatelabs.driver.Driver
-
Get a cookie by name.
- cookie(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- cookie(String, String) - Method in class io.karatelabs.http.HttpRequestBuilder
- cookie(Map<String, Object>) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Set a cookie.
- cookie(Map<String, Object>) - Method in interface io.karatelabs.driver.CoreDriver
-
Set a cookie.
- cookie(Map<String, Object>) - Method in interface io.karatelabs.driver.Driver
-
Set a cookie.
- cookie(Map<String, Object>) - Method in class io.karatelabs.driver.w3c.W3cDriver
- cookie(Map<String, Object>) - Method in class io.karatelabs.http.HttpRequestBuilder
- COOKIE - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- COOKIE - Static variable in class io.karatelabs.driver.DriverApi
- cookies(Collection<Map<String, Object>>) - Method in class io.karatelabs.http.HttpRequestBuilder
- Cookies - Class in io.karatelabs.http
- COOKIES - Static variable in class io.karatelabs.driver.DriverApi
- COOKIES_SET - Static variable in class io.karatelabs.driver.DriverApi
- copy() - Method in class io.karatelabs.core.KarateConfig
-
Create a deep copy of this configuration.
- copy() - Method in class io.karatelabs.http.HttpRequestBuilder
- copy() - Method in class io.karatelabs.http.Session
- copy(int) - Method in class io.karatelabs.gherkin.Scenario
- copy(Object, boolean, boolean) - Static method in class io.karatelabs.common.Json
- copyChangedFrom(KarateConfig, KarateConfig) - Method in class io.karatelabs.core.KarateConfig
-
Three-way merge used when a cached
callonceresult is replayed into a later scenario. - copyFrom(KarateConfig) - Method in class io.karatelabs.core.KarateConfig
-
Copy all configuration values from another KarateConfig.
- copyStaticResources(Path) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Copy static resources (CSS, JS, images) to the res directory.
- copyTo(Path) - Method in class io.karatelabs.core.ReportAssets
-
Copy the declared assets (JS, optional CSS, page HTML) into
extDir(target/karate-reports/ext/<name>/). - CoreDriver - Interface in io.karatelabs.driver
-
Core driver interface defining the primitive operations.
- countJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to count matching elements.
- create() - Method in interface io.karatelabs.core.RunListenerFactory
-
Create a listener instance for the current thread.
- create() - Method in class io.karatelabs.http.DefaultHttpClientFactory
- create() - Method in interface io.karatelabs.http.HttpClientFactory
-
Creates a new HttpClient instance.
- create() - Static method in class io.karatelabs.http.PkceGenerator
-
Create PKCE with S256 method (recommended)
- create() - Static method in class io.karatelabs.process.ProcessBuilder
- create(int) - Method in class io.karatelabs.http.FileSessionStore
- create(int) - Method in class io.karatelabs.http.InMemorySessionStore
- create(int) - Method in interface io.karatelabs.http.SessionStore
-
Create a new session with the specified expiry time.
- create(KarateJsContext) - Method in interface io.karatelabs.core.ExtGlobalFactory
-
Create the ext-global instance for one scenario.
- create(ScenarioRuntime, Map<String, Object>) - Method in interface io.karatelabs.core.ChannelFactory
- create(ProcessConfig) - Static method in class io.karatelabs.process.ProcessHandle
-
Create ProcessHandle without starting the process.
- create(Iterable<?>) - Static method in class io.karatelabs.match.DiskBackedList
-
Creates a DiskBackedList from an iterable source.
- create(String) - Static method in class io.karatelabs.http.PkceGenerator
-
Create PKCE with specified method
- create(String, Map<String, Object>, Duration) - Static method in class io.karatelabs.driver.w3c.W3cSession
-
Create a new WebDriver session.
- createClientContext(SslConfig) - Static method in class io.karatelabs.core.SslContextFactory
-
Create an SSLContext for client use (connecting to HTTPS servers).
- createDriver(Map<String, Object>) - Method in class io.karatelabs.driver.PooledDriverProvider
-
Create a new driver from config.
- createError(Feature, String, int) - Static method in class io.karatelabs.gherkin.Scenario
-
Create a synthetic error scenario for error reporting when execution fails.
- createNettySslContext(File, File) - Static method in class io.karatelabs.core.SslUtils
-
Create a Netty SslContext from PEM files.
- createNettySslContext(String, String) - Static method in class io.karatelabs.core.SslUtils
-
Create a Netty SslContext from PEM file paths.
- createServerContext(SslConfig) - Static method in class io.karatelabs.core.SslContextFactory
-
Create an SSLContext for server use (accepting HTTPS connections).
- createSession() - Method in class io.karatelabs.http.ServerConfig
-
Create a new session using the configured session store.
- createTemplateToken(Session) - Static method in class io.karatelabs.http.CsrfProtection
-
Create a template-accessible object containing CSRF token information.
- csrfEnabled(boolean) - Method in class io.karatelabs.http.ServerConfig
- csrfExemptPaths(String...) - Method in class io.karatelabs.http.ServerConfig
-
Register paths where CSRF token validation is skipped.
- CsrfProtection - Class in io.karatelabs.http
-
CSRF (Cross-Site Request Forgery) protection utilities.
- CsrfProtection() - Constructor for class io.karatelabs.http.CsrfProtection
- CsrfProtection.CsrfToken - Class in io.karatelabs.http
-
CSRF token object exposed to templates.
- CsrfToken(String) - Constructor for class io.karatelabs.http.CsrfProtection.CsrfToken
- css(String) - Method in class io.karatelabs.core.ReportAssets
-
Optional stylesheet, loaded if set.
- cssHref() - Method in class io.karatelabs.core.ReportAssets
-
Web-relative path of the CSS,
static/stripped; null when no CSS. - cta(String, String) - Method in class io.karatelabs.core.ReportAssets
-
Override the report's top-bar call-to-action.
- ctaHref() - Method in class io.karatelabs.core.ReportAssets
-
The ext-supplied CTA href, or null if this ext registered none.
- ctaLabel() - Method in class io.karatelabs.core.ReportAssets
-
The ext-supplied CTA label, or null if this ext registered none.
- ctrl(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- ctrl(String) - Method in interface io.karatelabs.driver.Keys
-
Press Ctrl+key combination.
- ctrl(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- CucumberJsonReportListener - Class in io.karatelabs.output
-
A
ResultListenerthat generates Cucumber JSON reports. - CucumberJsonReportListener(Path) - Constructor for class io.karatelabs.output.CucumberJsonReportListener
-
Create a new Cucumber JSON report listener.
- CucumberJsonWriter - Class in io.karatelabs.output
-
Generates Cucumber JSON reports compatible with third-party tools (Allure, ReportPortal, etc.).
- currentOrNull() - Static method in class io.karatelabs.core.ScenarioRuntime
-
The scenario executing on the current thread, or null outside a scenario's call().
- cyan(String) - Static method in class io.karatelabs.output.Console
- CYAN - Static variable in class io.karatelabs.output.Console
D
- DataUtils - Class in io.karatelabs.common
- debug(String) - Method in class io.karatelabs.output.LogContext.LogWriter
- DEBUG - Enum constant in enum class io.karatelabs.output.LogLevel
- debugInterceptor - Variable in class io.karatelabs.core.Suite
- debugPointFactory - Variable in class io.karatelabs.core.Suite
- debugSupport(RunInterceptor<T>, DebugPointFactory<T>) - Method in class io.karatelabs.core.Runner.Builder
-
Set debug support with interceptor and factory.
- DECIMAL - Static variable in interface io.karatelabs.driver.Keys
- decorate(Throwable, Suite) - Static method in class io.karatelabs.core.ExtHint
-
The step failure with the boot hint appended, or
erroritself when no hint applies — identity is the contract, the caller stores whatever comes back. - decreaseLevel() - Method in class io.karatelabs.markup.MarkupTemplateContext
- deepCopy(Object) - Static method in class io.karatelabs.core.StepUtils
-
Deep copy a value (Map, List, or primitive).
- DEFAULT_FILENAME - Static variable in class io.karatelabs.core.JsonLinesEventWriter
- DEFAULT_PATH_LINUX - Static variable in class io.karatelabs.driver.cdp.CdpLauncher
- DEFAULT_PATH_MAC - Static variable in class io.karatelabs.driver.cdp.CdpLauncher
- DEFAULT_PATH_WIN32 - Static variable in class io.karatelabs.driver.cdp.CdpLauncher
- DEFAULT_PATH_WIN64 - Static variable in class io.karatelabs.driver.cdp.CdpLauncher
- DEFAULT_POM_FILE - Static variable in class io.karatelabs.cli.RunCommand
- DefaultHttpClientFactory - Class in io.karatelabs.http
-
Default implementation of
HttpClientFactorythat creates a newApacheHttpClientinstance for each call. - DefaultHttpClientFactory() - Constructor for class io.karatelabs.http.DefaultHttpClientFactory
- defaults() - Static method in record class io.karatelabs.process.ProcessConfig
- delay(int) - Method in interface io.karatelabs.driver.Driver
-
Sleep for the given milliseconds.
- delete() - Method in class io.karatelabs.http.Http
- delete(Object) - Method in class io.karatelabs.http.Http
- delete(String) - Method in class io.karatelabs.http.FileSessionStore
- delete(String) - Method in class io.karatelabs.http.InMemorySessionStore
- delete(String) - Method in interface io.karatelabs.http.SessionStore
-
Delete a session from the store.
- DELETE - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- DELETE - Static variable in interface io.karatelabs.driver.Keys
- DELETE_COOKIE - Static variable in class io.karatelabs.driver.DriverApi
- deleteAllCookies() - Method in class io.karatelabs.driver.w3c.W3cSession
- deleteCookie(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Delete a cookie by name.
- deleteCookie(String) - Method in interface io.karatelabs.driver.Driver
-
Delete a cookie by name.
- deleteCookie(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- deleteCookie(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- deleteSession() - Method in class io.karatelabs.driver.w3c.W3cSession
- depth() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
depthrecord component. - describe() - Method in class io.karatelabs.output.LogMask
-
One-line description of mask rule counts, e.g.
- describeNode(int) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Describe a node by backend node id (
DOM.describeNode) → the node descriptor map ({nodeName, attributes:[name,val,…], …}), ornullon error. - devMode(boolean) - Method in class io.karatelabs.http.ServerConfig
- devTrace(boolean) - Method in class io.karatelabs.http.ServerConfig
-
Enable fragment-trace HTML comments around every
th:insert/th:replaceresolution. - dialog(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Accept or dismiss the current dialog.
- dialog(boolean) - Method in interface io.karatelabs.driver.Driver
-
Accept or dismiss the current dialog.
- dialog(boolean) - Method in class io.karatelabs.driver.w3c.W3cDriver
- dialog(boolean, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Accept or dismiss the current dialog with optional prompt input.
- dialog(boolean, String) - Method in interface io.karatelabs.driver.CoreDriver
-
Handle JavaScript dialog (alert, confirm, prompt, beforeunload).
- dialog(boolean, String) - Method in interface io.karatelabs.driver.Driver
-
Accept or dismiss the current dialog with optional prompt input.
- dialog(boolean, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- Dialog - Interface in io.karatelabs.driver
-
Interface for JavaScript dialogs (alert, confirm, prompt, or beforeunload).
- DIALOG - Static variable in class io.karatelabs.driver.DriverApi
- DIALOG_TEXT - Static variable in class io.karatelabs.driver.DriverApi
- DialogHandler - Interface in io.karatelabs.driver
-
Functional interface for handling JavaScript dialogs (alert, confirm, prompt, beforeunload).
- DialogOpenedException - Exception Class in io.karatelabs.driver.cdp
-
Thrown when a pending Runtime.evaluate is cancelled because a JavaScript dialog (alert, confirm, prompt) opened in the browser.
- DialogOpenedException(String) - Constructor for exception class io.karatelabs.driver.cdp.DialogOpenedException
- dim(String) - Static method in class io.karatelabs.output.Console
- DIM - Static variable in class io.karatelabs.output.Console
- DIMENSIONS - Static variable in class io.karatelabs.driver.DriverApi
- disablePing() - Method in class io.karatelabs.http.WsClientOptions.Builder
- DiskBackedList - Class in io.karatelabs.match
-
A disk-backed list implementation for handling large collections without exhausting memory.
- dismiss() - Method in class io.karatelabs.driver.cdp.CdpDialog
- dismiss() - Method in interface io.karatelabs.driver.Dialog
-
Dismiss the dialog (click Cancel/No).
- dismissAlert() - Method in class io.karatelabs.driver.w3c.W3cSession
- DIVIDE - Static variable in interface io.karatelabs.driver.Keys
- doc(Map<String, Object>) - Method in class io.karatelabs.core.KarateJs
-
Renders an HTML template and returns the result.
- DOMAIN - Static variable in class io.karatelabs.http.Cookies
- DOMCONTENT - Enum constant in enum class io.karatelabs.driver.PageLoadStrategy
-
Wait for DOMContentLoaded event only.
- DOMCONTENT_AND_FRAMES - Enum constant in enum class io.karatelabs.driver.PageLoadStrategy
-
Wait for DOMContentLoaded + all frames stopped loading (v1 default).
- doubleClick() - Method in class io.karatelabs.driver.cdp.CdpMouse
- doubleClick() - Method in interface io.karatelabs.driver.Mouse
-
Double-click at the current position.
- doubleClick() - Method in class io.karatelabs.driver.w3c.W3cMouse
- down() - Method in class io.karatelabs.driver.cdp.CdpMouse
- down() - Method in interface io.karatelabs.driver.Mouse
-
Press the mouse button down at the current position.
- down() - Method in class io.karatelabs.driver.w3c.W3cMouse
- down(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- down(String) - Method in interface io.karatelabs.driver.Keys
-
Hold down a modifier key.
- down(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- DOWN - Static variable in interface io.karatelabs.driver.Keys
- dragTo(double, double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- dragTo(double, double) - Method in interface io.karatelabs.driver.Mouse
-
Drag from current position to target position.
- dragTo(double, double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- drainOpenedTargets() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Drain the queue of page targets (tabs) opened since the last call.
- drainOpenedTargets() - Method in interface io.karatelabs.driver.Driver
-
Drain and return the list of new page targets (tabs) opened since the last call.
- driver - Variable in class io.karatelabs.driver.BaseElement
- Driver - Interface in io.karatelabs.driver
-
Browser automation driver interface.
- DriverApi - Class in io.karatelabs.driver
- DriverApi() - Constructor for class io.karatelabs.driver.DriverApi
- DriverException - Exception Class in io.karatelabs.driver
-
Runtime exception for browser driver errors.
- DriverException(String) - Constructor for exception class io.karatelabs.driver.DriverException
- DriverException(String, Throwable) - Constructor for exception class io.karatelabs.driver.DriverException
- DriverOptions - Interface in io.karatelabs.driver
-
Base options interface for browser drivers.
- driverProvider - Variable in class io.karatelabs.core.Suite
- driverProvider(DriverProvider) - Method in class io.karatelabs.core.Runner.Builder
-
Set a driver provider for managing browser driver lifecycle.
- DriverProvider - Interface in io.karatelabs.driver
-
Provider for browser driver instances.
- dryRun - Variable in class io.karatelabs.core.Suite
- dryRun(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable dry-run mode (parse but don't execute).
E
- EACH_CONTAINS - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_CONTAINS_ANY - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_CONTAINS_DEEP - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_CONTAINS_ONLY - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_EQUALS - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_NOT_CONTAINS - Enum constant in enum class io.karatelabs.match.Match.Type
- EACH_NOT_EQUALS - Enum constant in enum class io.karatelabs.match.Match.Type
- eachContains(Object) - Method in class io.karatelabs.match.Value
- eachContainsAny(Object) - Method in class io.karatelabs.match.Value
- eachContainsDeep(Object) - Method in class io.karatelabs.match.Value
- eachContainsOnly(Object) - Method in class io.karatelabs.match.Value
- eachEquals(Object) - Method in class io.karatelabs.match.Value
- eachNotContains(Object) - Method in class io.karatelabs.match.Value
- eachNotEquals(Object) - Method in class io.karatelabs.match.Value
- effectiveSlug(String, Scenario, Feature) - Static method in class io.karatelabs.core.RunUtils
-
The scenario's effective identity for the wire: a non-blank author-set
stableId(__id) wins verbatim; otherwise the slug derives from feature path + scenario name. - Element - Interface in io.karatelabs.driver
-
Represents a DOM element found by a locator.
- ELEMENT_NOT_FOUND - Static variable in class io.karatelabs.driver.Locators
-
Marker in the page-side
Errorthrown by an action whose locator resolved to null. - elementScreenshot(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- embed(byte[], String) - Method in class io.karatelabs.output.LogContext
-
Add an embed with just data and mime type.
- embed(byte[], String, String) - Method in class io.karatelabs.output.LogContext
-
Add an embed (HTML, image, etc.) to be included in step result.
- embed(StepResult.Embed) - Method in class io.karatelabs.output.LogContext
-
Add a pre-built embed (e.g. a multi-part
{name, parts[], meta}from an ext like image-comparison) to the current step. - Embed(byte[], String, String) - Constructor for class io.karatelabs.core.StepResult.Embed
-
Legacy single inline-bytes embed — wrapped as one
"primary"part. - Embed(String, List<StepResult.Part>, Map<String, Object>) - Constructor for class io.karatelabs.core.StepResult.Embed
-
Multi-asset embed (e.g. image-comparison).
- enabled() - Method in class io.karatelabs.driver.BaseElement
- enabled() - Method in interface io.karatelabs.driver.Element
- enabled() - Method in class io.karatelabs.driver.w3c.W3cElement
- enabled(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Check if an element is enabled.
- enabled(String) - Method in interface io.karatelabs.driver.Driver
-
Check if an element is enabled.
- enabled(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- ENABLED - Static variable in class io.karatelabs.driver.DriverApi
- enabledForUri(String) - Method in class io.karatelabs.output.LogMask
- enabledJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to check if element is enabled.
- END - Static variable in interface io.karatelabs.driver.Keys
- engine - Variable in class io.karatelabs.core.KarateJs
- engineSupplier(Supplier<Engine>) - Method in class io.karatelabs.http.ServerConfig
-
Set a custom ExternalBridge to control Java interop.
- enter(FeatureRuntime) - Static method in record class io.karatelabs.core.FeatureRunEvent
- enter(FeatureRuntime, ScenarioOutline) - Static method in record class io.karatelabs.core.OutlineRunEvent
- enter(ScenarioRuntime) - Static method in record class io.karatelabs.core.ScenarioRunEvent
- enter(Suite) - Static method in record class io.karatelabs.core.SuiteRunEvent
- enter(Step, ScenarioRuntime) - Static method in record class io.karatelabs.core.StepRunEvent
- enter(HttpRequest, ScenarioRuntime) - Static method in record class io.karatelabs.core.HttpRunEvent
-
Creates an HTTP_ENTER event fired before the HTTP request is made.
- ENTER - Static variable in interface io.karatelabs.driver.Keys
- env - Variable in class io.karatelabs.core.Suite
- env() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
envrecord component. - env(String, String) - Method in class io.karatelabs.process.ProcessBuilder
- env(Map<String, String>) - Method in class io.karatelabs.process.ProcessBuilder
- ENV - Static variable in class io.karatelabs.gherkin.Tag
- ENV_CONFIG_DIR - Static variable in class io.karatelabs.core.KarateOptionsHandler
- ENV_ENV - Static variable in class io.karatelabs.core.KarateOptionsHandler
- ENV_OPTIONS - Static variable in class io.karatelabs.core.KarateOptionsHandler
- ENVNOT - Static variable in class io.karatelabs.gherkin.Tag
- equals(Object) - Method in record class io.karatelabs.core.ErrorRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.FeatureRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.HttpRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.OutlineRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.ProgressRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.ReportAssets.Page
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.StepRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.StepUtils.CallParts
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.core.SuiteRunEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.karatelabs.gherkin.Tag
- equals(Object) - Method in record class io.karatelabs.match.Result.Failure
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.karatelabs.process.ProcessConfig
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class io.karatelabs.match.Match.Type
- EQUALS - Static variable in interface io.karatelabs.driver.Keys
- error() - Method in record class io.karatelabs.core.ErrorRunEvent
-
Returns the value of the
errorrecord component. - error(int, String) - Static method in class io.karatelabs.http.HttpResponse
-
Status + JSON body
{"error": message}. - error(String) - Method in class io.karatelabs.output.LogContext.LogWriter
- ERROR - Enum constant in enum class io.karatelabs.core.RunEventType
- ERROR - Enum constant in enum class io.karatelabs.output.LogLevel
- errorListener() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
errorListenerrecord component. - errorListener(Consumer<String>) - Method in class io.karatelabs.process.ProcessBuilder
- ErrorRunEvent - Record Class in io.karatelabs.core
-
Error event (ERROR).
- ErrorRunEvent(ScenarioRuntime, Throwable, long) - Constructor for record class io.karatelabs.core.ErrorRunEvent
-
Creates an instance of a
ErrorRunEventrecord class. - errorTemplate404(String) - Method in class io.karatelabs.http.ServerConfig
- errorTemplate500(String) - Method in class io.karatelabs.http.ServerConfig
- escape(String) - Static method in class io.karatelabs.common.Json
- ESCAPE - Static variable in interface io.karatelabs.driver.Keys
- escapeForJs(String) - Static method in class io.karatelabs.driver.Locators
-
Escape a string for embedding in a JavaScript double-quoted string.
- escapeXpathString(String) - Static method in class io.karatelabs.driver.Locators
-
Escape a string for use in XPath.
- estimateCollectionSize(List<?>) - Static method in class io.karatelabs.match.DiskBackedList
-
Estimates the total memory size of a list using random sampling.
- estimateSize(Object) - Static method in class io.karatelabs.match.DiskBackedList
-
Estimates the memory size of an object in bytes.
- eval(Object) - Method in interface io.karatelabs.driver.Driver
-
Execute JavaScript with support for JsFunction.
- eval(String) - Method in class io.karatelabs.core.ScenarioRuntime
- eval(String) - Method in interface io.karatelabs.driver.CoreDriver
-
Execute JavaScript and return result.
- eval(String) - Method in interface io.karatelabs.driver.Driver
-
Execute JavaScript.
- eval(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
-
Execute JavaScript via W3C executeScript.
- eval(String, Step) - Method in class io.karatelabs.core.ScenarioRuntime
-
Evaluate a JS expression with debug source information from a Gherkin step.
- evalAsStep(String) - Method in class io.karatelabs.core.ScenarioRuntime
-
Evaluate text as a Gherkin step against this runtime's variable / HTTP state.
- evalDocString(String, Step) - Method in class io.karatelabs.core.ScenarioRuntime
-
Evaluate a JS docstring expression with debug source information.
- evalIfPresent(Suite, Path, String) - Static method in class io.karatelabs.core.BootLoader
-
Discover + evaluate
karate-boot.jsfor a Suite under construction — called from theSuiteconstructor, before config discovery and feature resolution, becauseboot.classpath(dir)is what both of those honour. - evalLocal(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- evalLocalAsObject(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- evalMatchString(String, String) - Method in class io.karatelabs.core.StepExecutor
-
Parses and evaluates a full match-expression string (e.g.
- evaluate(Object, Context, BiConsumer<Context, Result>) - Static method in class io.karatelabs.match.Match
- evaluate(String, String) - Method in class io.karatelabs.core.TagSelector
-
Evaluate a tag selector expression against this set of tags.
- ExamplesTable - Class in io.karatelabs.gherkin
- ExamplesTable() - Constructor for class io.karatelabs.gherkin.ExamplesTable
- ExamplesTable(ScenarioOutline, Table) - Constructor for class io.karatelabs.gherkin.ExamplesTable
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.karatelabs.http.HttpServerHandler
-
The backstop: no request leaves this server unanswered. Netty's default sends an uncaught exception to the pipeline tail, which logs it and writes nothing — so a client waits out its own timeout while the server looks healthy.
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.karatelabs.http.WsClientHandler
- EXCLUSIVE_LOCK - Static variable in class io.karatelabs.core.ScenarioLockManager
-
The special lock name that indicates exclusive execution.
- executable(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- execute(Step) - Method in class io.karatelabs.core.StepExecutor
- execute(Engine, Match.Type, Object, Object) - Static method in class io.karatelabs.match.Match
- execute(Engine, Match.Type, Object, Object, boolean) - Static method in class io.karatelabs.match.Match
- execute(Engine, Match.Type, Object, Object, long) - Static method in class io.karatelabs.match.Match
- executeCallSingle(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Execute karate.callSingle() - runs a file once per Suite and caches the result.
- executeJsCall(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Execute a feature via karate.call() and return its result variables.
- executeJsCallOnce(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Execute karate.callonce() - runs a feature once per FeatureRuntime and caches the result.
- executeScript(String, Object...) - Method in class io.karatelabs.driver.w3c.W3cSession
- executeSetup(String) - Method in class io.karatelabs.core.ScenarioRuntime
-
Execute the @setup scenario and return all its variables.
- executeSetupOnce(String) - Method in class io.karatelabs.core.ScenarioRuntime
-
Execute the @setup scenario with caching (only runs once per feature).
- existing(Driver, String) - Static method in class io.karatelabs.driver.BaseElement
-
Construct an Element whose existence has already been verified by the caller.
- exists - Variable in class io.karatelabs.driver.BaseElement
- exists() - Method in class io.karatelabs.driver.BaseElement
- exists() - Method in interface io.karatelabs.driver.Element
- exists(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Check if an element exists.
- exists(String) - Method in interface io.karatelabs.driver.Driver
-
Check if an element exists.
- exists(String) - Method in class io.karatelabs.driver.Finder
-
Check if the element exists.
- exists(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- EXISTS - Static variable in class io.karatelabs.driver.DriverApi
- existsJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to check if element exists.
- exit(FeatureRuntime, FeatureResult) - Static method in record class io.karatelabs.core.FeatureRunEvent
- exit(ScenarioRuntime, ScenarioResult) - Static method in record class io.karatelabs.core.ScenarioRunEvent
- exit(StepResult, ScenarioRuntime) - Static method in record class io.karatelabs.core.StepRunEvent
- exit(Suite, SuiteResult) - Static method in record class io.karatelabs.core.SuiteRunEvent
- exit(HttpRequest, HttpResponse, ScenarioRuntime) - Static method in record class io.karatelabs.core.HttpRunEvent
-
Creates an HTTP_EXIT event fired after the HTTP response is received.
- expandWildcard(String) - Static method in class io.karatelabs.driver.Locators
-
Expand wildcard locator to JavaScript resolver call.
- Expect - Class in io.karatelabs.match
-
Chai-style BDD assertion API for Karate.
- Expect(Object) - Constructor for class io.karatelabs.match.Expect
- Expect(Object, boolean, BiConsumer<Context, Result>, boolean) - Constructor for class io.karatelabs.match.Expect
-
Creates an Expect instance with control over throw behavior.
- Expect(Object, boolean, BiConsumer<Context, Result>, boolean, Supplier<Context>) - Constructor for class io.karatelabs.match.Expect
-
Creates an Expect instance with full control over behavior.
- Expect(Object, BiConsumer<Context, Result>) - Constructor for class io.karatelabs.match.Expect
- EXPECT_TEST_TO_FAIL_BECAUSE_OF_FAIL_TAG - Static variable in class io.karatelabs.core.ScenarioResult
- expectedType() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
expectedTyperecord component. - expectedValue() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
expectedValuerecord component. - ext(String) - Method in class io.karatelabs.core.BootBinding
-
boot.ext('name')— resolve + construct + register an ext. - Ext - Interface in io.karatelabs.core
-
Karate ext SPI — singletons-per-Suite that observe the run via
RunListener. - externalizeEmbeds(FeatureResult, Path) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Externalize a feature result's inline-bytes embeds to
<outputDir>/embeds/and set each part'sfileName, so EVERY downstream serializer — the JSONL event stream and the HTML data JSON — references the file rather than inlining base64 (large screenshots stay on disk, the report still works off a folder /file://). - ExtGlobalFactory - Interface in io.karatelabs.core
-
Mints a per-scenario ext-global instance, bound fresh into each scenario's JS scope.
- ExtHint - Class in io.karatelabs.core
-
Turns a bare
ReferenceError: X is not definedinside a step into an actionable failure — whenXis a global that an ext would have bound, had the project declared it. - extractPath(String) - Static method in class io.karatelabs.http.HttpUtils
-
Extract just the path portion from a URI (strips query string).
- extractQueryString(String) - Static method in class io.karatelabs.http.HttpUtils
-
Extract just the query string from a URI (without the leading '?').
F
- F1 - Static variable in interface io.karatelabs.driver.Keys
- F10 - Static variable in interface io.karatelabs.driver.Keys
- F11 - Static variable in interface io.karatelabs.driver.Keys
- F12 - Static variable in interface io.karatelabs.driver.Keys
- F2 - Static variable in interface io.karatelabs.driver.Keys
- F3 - Static variable in interface io.karatelabs.driver.Keys
- F4 - Static variable in interface io.karatelabs.driver.Keys
- F5 - Static variable in interface io.karatelabs.driver.Keys
- F6 - Static variable in interface io.karatelabs.driver.Keys
- F7 - Static variable in interface io.karatelabs.driver.Keys
- F8 - Static variable in interface io.karatelabs.driver.Keys
- F9 - Static variable in interface io.karatelabs.driver.Keys
- fail(String) - Static method in class io.karatelabs.match.Result
- fail(String) - Static method in class io.karatelabs.output.Console
- fail(String, List<Result.Failure>) - Static method in class io.karatelabs.match.Result
- FAIL - Static variable in class io.karatelabs.gherkin.Tag
- failed(Step, long, long, Throwable) - Static method in class io.karatelabs.core.StepResult
- FAILED - Enum constant in enum class io.karatelabs.core.StepResult.Status
- failedEmbedded(String) - Method in class io.karatelabs.core.ScenarioRuntime
-
The error a surviving placeholder failed with, or null if it was never evaluated at all.
- failedEmbeddedKeys() - Method in class io.karatelabs.core.ScenarioRuntime
-
The placeholders recorded as failed — for a consumer whose value is text rather than a tree.
- Failure(String, String, Value.Type, Value.Type, Object, Object, int) - Constructor for record class io.karatelabs.match.Result.Failure
-
Creates an instance of a
Failurerecord class. - failures - Variable in class io.karatelabs.match.Result
- failureScreenshot() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Best-effort failure-path screenshot, bounded by
CdpDriver.FAILURE_SCREENSHOT_TIMEOUTso a stalled renderer can't turn a swallowed diagnostic into a full-timeout hang. - failureScreenshot() - Method in interface io.karatelabs.driver.Driver
-
Best-effort screenshot for the failure path (screenshotOnFailure).
- fakeFailure(String, long, Throwable) - Static method in class io.karatelabs.core.StepResult
-
Create a fake failure step result (for @fail tag handling).
- Faker - Class in io.karatelabs.core
-
Faker API for generating random test data.
- Faker() - Constructor for class io.karatelabs.core.Faker
- fakeSuccess(String, long) - Static method in class io.karatelabs.core.StepResult
-
Create a fake success step result (for @fail tag handling).
- feature(Resource) - Static method in class io.karatelabs.core.MockServer
-
Create a builder for a mock server from a Resource.
- feature(Feature) - Method in class io.karatelabs.core.MockServer.Builder
-
Add a parsed Feature.
- feature(Feature) - Static method in class io.karatelabs.core.MockServer
-
Create a builder for a mock server from a parsed Feature.
- feature(String) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- feature(String) - Static method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.feature(String)instead. - feature(String) - Method in class io.karatelabs.core.MockServer.Builder
-
Add a feature file by path.
- feature(String) - Static method in class io.karatelabs.core.MockServer
-
Create a builder for a mock server from a feature file path.
- Feature - Class in io.karatelabs.gherkin
- Feature(Resource) - Constructor for class io.karatelabs.gherkin.Feature
- FEATURE_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- FEATURE_EXIT - Enum constant in enum class io.karatelabs.core.RunEventType
- FeatureCall - Class in io.karatelabs.core
-
Wrapper for a Feature with an optional tag selector.
- FeatureCall(Feature, String) - Constructor for class io.karatelabs.core.FeatureCall
- FeatureResult - Class in io.karatelabs.core
- FeatureResult(Feature) - Constructor for class io.karatelabs.core.FeatureResult
- FeatureRunEvent - Record Class in io.karatelabs.core
-
Feature-level events (FEATURE_ENTER, FEATURE_EXIT).
- FeatureRunEvent(RunEventType, FeatureRuntime, FeatureResult, long) - Constructor for record class io.karatelabs.core.FeatureRunEvent
-
Creates an instance of a
FeatureRunEventrecord class. - FeatureRuntime - Class in io.karatelabs.core
- FeatureRuntime(Suite, Feature) - Constructor for class io.karatelabs.core.FeatureRuntime
- FeatureRuntime(Suite, Feature, FeatureRuntime, ScenarioRuntime, boolean, Map<String, Object>) - Constructor for class io.karatelabs.core.FeatureRuntime
- FeatureRuntime(Suite, Feature, FeatureRuntime, ScenarioRuntime, boolean, Map<String, Object>, String) - Constructor for class io.karatelabs.core.FeatureRuntime
- FeatureRuntime(Suite, Feature, FeatureRuntime, ScenarioRuntime, boolean, Map<String, Object>, String, Set<Integer>) - Constructor for class io.karatelabs.core.FeatureRuntime
- FeatureRuntime(Suite, Feature, FeatureRuntime, Map<String, Object>) - Constructor for class io.karatelabs.core.FeatureRuntime
- FeatureRuntime(Feature) - Constructor for class io.karatelabs.core.FeatureRuntime
- features - Variable in class io.karatelabs.core.Suite
- features(Feature...) - Method in class io.karatelabs.core.Runner.Builder
-
Add Feature objects directly.
- features(Feature...) - Static method in class io.karatelabs.core.Runner
-
Start building a test run with Feature objects.
- features(Collection<Feature>) - Method in class io.karatelabs.core.Runner.Builder
-
Add Feature objects directly.
- FeatureSection - Class in io.karatelabs.gherkin
- FeatureSection() - Constructor for class io.karatelabs.gherkin.FeatureSection
- featureSlug(Feature) - Static method in class io.karatelabs.core.RunUtils
- featureString(String) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- featureString(String) - Static method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.featureString(String)instead. - featureString(String) - Method in class io.karatelabs.core.MockServer.Builder
-
Add a feature from inline string content.
- featureString(String) - Static method in class io.karatelabs.core.MockServer
-
Create a builder for a mock server from a feature string.
- featureToJson(FeatureResult) - Static method in class io.karatelabs.output.CucumberJsonWriter
-
Convert a single feature result to Cucumber JSON string.
- featureToXml(FeatureResult) - Static method in class io.karatelabs.output.JunitXmlWriter
-
Convert a single feature result to JUnit XML string.
- fileNameFor(FeatureResult) - Static method in class io.karatelabs.output.CucumberJsonWriter
-
File name this feature's output is written under.
- fileNameFor(FeatureResult) - Static method in class io.karatelabs.output.JunitXmlWriter
-
File name this feature's output is written under.
- FileSessionStore - Class in io.karatelabs.http
-
File-based implementation of SessionStore.
- FileSessionStore(Path) - Constructor for class io.karatelabs.http.FileSessionStore
- fillInStackTrace() - Method in exception class io.karatelabs.http.TemplateFlowSignal
- find(String) - Method in class io.karatelabs.driver.Finder
-
Find the first element matching the locator that satisfies the positional constraint.
- findAll(String) - Method in class io.karatelabs.driver.Finder
-
Find all elements matching the locator that satisfy the positional constraint.
- findAllJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to find all matching elements and return their unique selectors.
- findAssignmentOperator(String) - Static method in class io.karatelabs.core.StepUtils
-
Find the first '=' that's an assignment operator (not ==, !
- findElement(String, String) - Method in class io.karatelabs.driver.w3c.W3cSession
-
Find a single element.
- findElements(String, String) - Method in class io.karatelabs.driver.w3c.W3cSession
-
Find multiple elements.
- Finder - Class in io.karatelabs.driver
-
Positional element finder for relative locators.
- Finder(Driver, String, Finder.Position) - Constructor for class io.karatelabs.driver.Finder
- Finder.Position - Enum Class in io.karatelabs.driver
- findFreePort() - Static method in class io.karatelabs.process.PortUtils
-
Find a free port.
- findReadCloseParen(String) - Static method in class io.karatelabs.core.StepUtils
-
Find the index of the `)` that matches the leading `read(` in
text, skipping anything inside single- or double-quoted strings and tracking nested parens. - findStepByLine(int) - Method in class io.karatelabs.gherkin.Feature
- fireEvent(RunEvent) - Method in class io.karatelabs.core.Suite
- FLASH_SESSION_KEY - Static variable in class io.karatelabs.http.ServerMarkupContext
-
Session key used to persist flash messages across redirects.
- focus() - Method in class io.karatelabs.driver.BaseElement
- focus() - Method in interface io.karatelabs.driver.Element
- focus(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Focus an element.
- focus(String) - Method in interface io.karatelabs.driver.Driver
-
Focus an element.
- focus(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- FOCUS - Static variable in class io.karatelabs.driver.DriverApi
- focusJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to focus an element with cursor at end.
- forError(Throwable, Suite) - Static method in class io.karatelabs.core.ExtHint
-
The hint line for this failure, or null when it is not a resolvable missing-ext global.
- forkNewBuilder() - Method in class io.karatelabs.http.HttpRequestBuilder
- FORM_FIELD_NAME - Static variable in class io.karatelabs.http.CsrfProtection
-
Default form field name for CSRF token
- formatPortArg(int) - Method in enum class io.karatelabs.driver.w3c.W3cBrowserType
-
Format the port argument for this browser's driver executable.
- formField(String, Object) - Method in class io.karatelabs.http.HttpRequestBuilder
- forStep(Throwable, String, int, String) - Static method in exception class io.karatelabs.core.KarateException
-
Wrap
errorso the feature-file location travels with the Throwable. - forward() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Navigate forward in history.
- forward() - Method in interface io.karatelabs.driver.Driver
-
Navigate forward in history.
- forward() - Method in class io.karatelabs.driver.w3c.W3cDriver
- forward() - Method in class io.karatelabs.driver.w3c.W3cSession
- FORWARD - Static variable in class io.karatelabs.driver.DriverApi
- FragmentTraceHandler - Class in io.karatelabs.markup
-
Devmode post-processor that emits paired
<!-- ka:fragment-begin -->/<!-- ka:fragment-end -->comments around every fragment resolution and suppresses the synthetic<ka-trace>wrapper element thatTraceWrappingHandlerinjected at processor time. - FragmentTraceHandler() - Constructor for class io.karatelabs.markup.FragmentTraceHandler
- frame(Object) - Method in interface io.karatelabs.driver.CoreDriver
-
Switch to a frame.
- frame(Object) - Method in interface io.karatelabs.driver.Driver
-
Switch frames.
- frame(Object) - Method in class io.karatelabs.driver.w3c.W3cDriver
- fromBytes(byte[], boolean, ResourceType) - Static method in class io.karatelabs.http.HttpUtils
- fromCsv(String) - Static method in class io.karatelabs.common.DataUtils
- fromException(Feature, Throwable, long) - Static method in class io.karatelabs.core.FeatureResult
-
Create a failed FeatureResult from an exception that occurred during feature execution.
- fromJson(String) - Method in class io.karatelabs.http.ServerMarkupContext
- fromJson(String) - Method in interface io.karatelabs.markup.MarkupContext
-
Parse a JSON string into an object (Map or List).
- fromJson(String, String) - Static method in class io.karatelabs.common.Json
-
Deserialize a JSON string into a Java object of the specified class.
- fromKarateJson(Scenario, Map<String, Object>) - Static method in class io.karatelabs.gherkin.Step
- fromKarateJson(List<Map<String, Object>>) - Static method in class io.karatelabs.gherkin.Table
- fromKarateOptionsTags(String...) - Static method in class io.karatelabs.core.TagSelector
-
Convert Karate/Cucumber-style tag expressions to JS-style tag selector.
- fromKarateOptionsTags(List<String>) - Static method in class io.karatelabs.core.TagSelector
-
Convert Karate/Cucumber-style tag expressions to JS-style tag selector.
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.core.SslConfig
-
Create an SslConfig from a map (for karate.configure('ssl', {...})).
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.driver.cdp.CdpDriverOptions
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.driver.w3c.W3cDriverOptions
-
Create options from a config map (from
configure driver = {...}). - fromMap(Map<String, Object>) - Static method in class io.karatelabs.http.Cookies
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.http.OAuth2Token
-
Create token from OAuth token response
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.output.LogMask
- fromMap(Map<String, Object>) - Static method in class io.karatelabs.process.ProcessBuilder
- fromString(String, boolean, ResourceType) - Static method in class io.karatelabs.http.HttpUtils
- fromType(String) - Static method in enum class io.karatelabs.driver.w3c.W3cBrowserType
-
Get the W3cBrowserType for a Karate type string.
- fromYaml(String) - Static method in class io.karatelabs.common.DataUtils
- fullscreen() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Make the browser window fullscreen.
- fullscreen() - Method in interface io.karatelabs.driver.Driver
-
Make the browser window fullscreen.
- fullscreen() - Method in class io.karatelabs.driver.w3c.W3cDriver
- FULLSCREEN - Static variable in class io.karatelabs.driver.DriverApi
- fullscreenWindow() - Method in class io.karatelabs.driver.w3c.W3cSession
G
- GECKODRIVER - Enum constant in enum class io.karatelabs.driver.w3c.W3cBrowserType
- generateNettySslContext() - Static method in class io.karatelabs.core.SslUtils
-
Generate a Netty SslContext for server use.
- generateSelfSigned() - Static method in class io.karatelabs.core.SslUtils
-
Generate a self-signed certificate and return an SSLContext.
- generateToken() - Static method in class io.karatelabs.http.CsrfProtection
-
Generate a new cryptographically secure CSRF token.
- get() - Method in class io.karatelabs.http.Http
- get() - Static method in class io.karatelabs.http.ServerRequestCycle
- get() - Static method in class io.karatelabs.output.LogContext
- get(int) - Method in class io.karatelabs.match.DiskBackedList
- get(int) - Method in interface io.karatelabs.match.LargeValueStore
-
Returns the element at the specified index.
- get(String) - Method in class io.karatelabs.common.Json
- get(String) - Method in class io.karatelabs.driver.cdp.CdpEvent
-
Get value from params using dot notation or JSONPath.
- get(String) - Method in class io.karatelabs.driver.cdp.CdpResponse
-
Get value from any part of response using JSONPath.
- get(String) - Method in class io.karatelabs.http.FileSessionStore
- get(String) - Method in class io.karatelabs.http.InMemorySessionStore
- get(String) - Method in interface io.karatelabs.http.SessionStore
-
Retrieve a session by its ID.
- get(String, T) - Method in class io.karatelabs.common.Json
- GET - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- GET_PAGES - Static variable in class io.karatelabs.driver.DriverApi
- getAccessToken() - Method in class io.karatelabs.http.OAuth2Token
- getActions() - Method in class io.karatelabs.http.ServerMarkupContext
- getActions() - Method in interface io.karatelabs.markup.ActionDispatchHost
-
The (mutable) registry: action name → JS function.
- getActualExpr() - Method in class io.karatelabs.gherkin.MatchExpression
- getAddOptions() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
-
Get additional Chrome args.
- getAddOptions() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getAfterFeature() - Method in class io.karatelabs.core.KarateConfig
- getAfterScenario() - Method in class io.karatelabs.core.KarateConfig
- getAfterScenario() - Method in class io.karatelabs.core.MockConfig
- getAfterScenarioOutline() - Method in class io.karatelabs.core.KarateConfig
- getAlertText() - Method in class io.karatelabs.driver.w3c.W3cSession
- getAlgorithm() - Method in class io.karatelabs.core.SslConfig
- getAll(String, List<String>) - Method in class io.karatelabs.common.Json
- getAll(List<String>) - Method in class io.karatelabs.common.Json
- getAllCookies() - Method in class io.karatelabs.driver.w3c.W3cSession
- getAllExampleData() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getAllowedOrigins() - Method in class io.karatelabs.http.ServerConfig
- getAllVariables() - Method in class io.karatelabs.core.ScenarioRuntime
- getApiPrefix() - Method in class io.karatelabs.http.ServerConfig
- getAs(String, Class<T>) - Method in class io.karatelabs.common.Json
- getAsBoolean(String) - Method in class io.karatelabs.driver.cdp.CdpEvent
-
Get value as Boolean.
- getAsInt(String) - Method in class io.karatelabs.driver.cdp.CdpEvent
-
Get value as Integer.
- getAssignedVariables() - Method in class io.karatelabs.core.ScenarioRuntime
- getAsString() - Method in class io.karatelabs.match.Value
- getAsString(String) - Method in class io.karatelabs.driver.cdp.CdpEvent
-
Get value as String.
- getAst() - Method in class io.karatelabs.gherkin.GherkinParser
- getAuth() - Method in class io.karatelabs.core.KarateConfig
- getAuthAccessTokenUrl() - Method in class io.karatelabs.core.KarateConfig
- getAuthClientId() - Method in class io.karatelabs.core.KarateConfig
- getAuthClientSecret() - Method in class io.karatelabs.core.KarateConfig
- getAuthorizationHeaderPreview() - Method in class io.karatelabs.http.ClientCredentialsAuthHandler
- getAuthPassword() - Method in class io.karatelabs.core.KarateConfig
- getAuthScope() - Method in class io.karatelabs.core.KarateConfig
- getAuthToken() - Method in class io.karatelabs.core.KarateConfig
- getAuthType() - Method in class io.karatelabs.core.KarateConfig
- getAuthUsername() - Method in class io.karatelabs.core.KarateConfig
- getBackground() - Method in class io.karatelabs.gherkin.Feature
- getBackgroundSteps() - Method in class io.karatelabs.gherkin.Scenario
- getBeforeScenario() - Method in class io.karatelabs.core.KarateConfig
- getBeforeScenario() - Method in class io.karatelabs.core.MockConfig
- getBody() - Method in class io.karatelabs.driver.InterceptResponse
-
Get the response body as bytes.
- getBody() - Method in class io.karatelabs.http.HttpRequest
- getBody() - Method in class io.karatelabs.http.HttpRequestBuilder
- getBody() - Method in class io.karatelabs.http.HttpResponse
- getBodyBase64() - Method in class io.karatelabs.driver.InterceptResponse
-
Get the response body as a Base64-encoded string.
- getBodyBytes() - Method in class io.karatelabs.http.HttpResponse
- getBodyConverted() - Method in class io.karatelabs.http.HttpRequest
- getBodyConverted() - Method in class io.karatelabs.http.HttpResponse
- getBodyDisplay() - Method in class io.karatelabs.http.HttpRequest
- getBodyForDisplay() - Method in class io.karatelabs.http.MultiPartBuilder
- getBodyJson() - Method in class io.karatelabs.http.HttpRequest
-
The body coerced to parsed JSON regardless of content-type: an already-parsed
Map/List(a JSON content-type —HttpRequest.getBodyConverted()parses those eagerly) is returned as-is; a string body is parsed leniently; anything else (binary, blank, unparsable) isnull. - getBodyString() - Method in class io.karatelabs.driver.InterceptResponse
-
Get the response body as a string (UTF-8).
- getBodyString() - Method in class io.karatelabs.http.HttpRequest
- getBodyString() - Method in class io.karatelabs.http.HttpResponse
- getBootBinding() - Method in class io.karatelabs.core.Suite
-
Returns the karate-boot.js
BootBindingpopulated during construction, ornullwhen no boot file is present in the workdir. - getBoundary() - Method in class io.karatelabs.http.MultiPartBuilder
- getBrowserName() - Method in enum class io.karatelabs.driver.w3c.W3cBrowserType
- getBrowserType() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getBytes() - Method in class io.karatelabs.http.WsFrame
- getCallArg() - Method in class io.karatelabs.core.FeatureResult
- getCallArg() - Method in class io.karatelabs.core.FeatureRuntime
- getCallbackExecutor() - Method in class io.karatelabs.http.WsClientOptions
- getCallDepth() - Method in class io.karatelabs.core.FeatureResult
- getCallDepth() - Method in class io.karatelabs.core.FeatureRuntime
- getCaller() - Method in class io.karatelabs.core.FeatureRuntime
- getCallerScenario() - Method in class io.karatelabs.core.FeatureRuntime
- getCallerTemplateName() - Method in class io.karatelabs.http.ServerMarkupContext
- getCallerTemplateName() - Method in interface io.karatelabs.markup.MarkupContext
-
Returns the caller template name (for fragments/includes), or null if top-level.
- getCallOnceCache() - Method in class io.karatelabs.core.FeatureRuntime
- getCallOnceCache(String) - Method in class io.karatelabs.core.Suite
-
Get the callOnce cache for the given feature key (its resource URI).
- getCallOnceLock() - Method in class io.karatelabs.core.FeatureRuntime
- getCallOnceLock(String) - Method in class io.karatelabs.core.Suite
- getCallResults() - Method in class io.karatelabs.core.StepResult
- getCallSingleCache() - Method in class io.karatelabs.core.KarateConfig
- getCallSingleCache() - Method in class io.karatelabs.core.Suite
- getCallSingleCacheDir() - Method in class io.karatelabs.core.KarateConfig
- getCallSingleCacheMinutes() - Method in class io.karatelabs.core.KarateConfig
- getCallSingleLock() - Method in class io.karatelabs.core.Suite
- getCdpClient() - Method in class io.karatelabs.driver.cdp.CdpDriver
- getCdpOptions() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the CDP-specific options.
- getCertPath() - Method in class io.karatelabs.core.SslConfig
- getChallenge() - Method in class io.karatelabs.http.PkceGenerator
- getChannelFactory(String) - Method in class io.karatelabs.core.Suite
-
Ext-registered
ChannelFactoryfor the given type, ornullif none — in which casekarate.channel()falls back to the built-in name->FQCN map. - getCharset() - Method in class io.karatelabs.core.KarateConfig
- getClasspathDir() - Method in class io.karatelabs.core.BootBinding
-
The directory declared by
BootBinding.classpath(String), root-relative and de-slashed, ornullwhen the project declared nothing (then the fallback dir IS the root). - getClasspathRoot() - Method in class io.karatelabs.core.Suite
-
The directory a
classpath:reference retries against when the classloader misses, declared byboot.classpath(dir)inkarate-boot.js. - getClient() - Method in class io.karatelabs.http.HttpRequestBuilder
- getCloseCode() - Method in class io.karatelabs.http.WsFrame
- getCloseListener() - Method in class io.karatelabs.http.WsClientOptions
- getCloseReason() - Method in class io.karatelabs.http.WsFrame
- getCodeFuture() - Method in class io.karatelabs.http.LocalCallbackServer
- getComments() - Method in class io.karatelabs.gherkin.Step
- getCompiledMask() - Method in class io.karatelabs.core.KarateConfig
-
Compiled HTTP log mask.
- getConfig() - Method in interface io.karatelabs.core.KarateJsContext
-
Returns the runtime configuration.
- getConfig() - Method in class io.karatelabs.core.MockHandler
- getConfig() - Method in class io.karatelabs.core.ScenarioRuntime
- getConfig() - Method in class io.karatelabs.http.ServerMarkupContext
- getConfig() - Method in class io.karatelabs.http.ServerRequestCycle
- getConfig() - Method in class io.karatelabs.http.ServerRequestHandler
- getConfigDir() - Method in class io.karatelabs.cli.RunCommand
- getConfigDir() - Method in class io.karatelabs.core.KaratePom
- getConfigDir() - Method in class io.karatelabs.core.Suite
-
The directory of the resolved
karate-config.js. - getConfiguration() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getConfigVars() - Method in class io.karatelabs.core.ScenarioRuntime
-
The merged config-phase variables (base + config + env), populated during init when config is evaluated (a top-level scenario); empty otherwise.
- getConnectTimeout() - Method in class io.karatelabs.core.KarateConfig
- getConnectTimeout() - Method in class io.karatelabs.http.WsClientOptions
- getConsole() - Method in class io.karatelabs.core.KaratePom.LoggingPom
- getContentLength() - Method in class io.karatelabs.http.HttpResponse
- getContentSecurityPolicy() - Method in class io.karatelabs.http.ServerConfig
- getContentType() - Method in class io.karatelabs.http.HttpRequest
- getContentType() - Method in class io.karatelabs.http.HttpRequestBuilder
- getContentType() - Method in class io.karatelabs.http.HttpResponse
- getContentTypeHeader() - Method in class io.karatelabs.http.MultiPartBuilder
- getContext() - Method in class io.karatelabs.http.ServerRequestCycle
- getContextPath() - Method in class io.karatelabs.http.ServerConfig
- getContextPath() - Method in class io.karatelabs.markup.HxDialect
-
Get the context path for this dialect.
- getContextPath() - Method in class io.karatelabs.markup.MarkupConfig
- getContextSession() - Method in class io.karatelabs.http.ServerMarkupContext
- getContextSession() - Method in interface io.karatelabs.markup.MarkupContext
-
Returns the session object if one exists, null otherwise.
- getContextSupplier() - Method in class io.karatelabs.match.Expect
- getCookie(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- getCookieJar() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the cookie jar for auto-sending cookies on subsequent requests.
- getCookies() - Method in class io.karatelabs.core.KarateConfig
- getCookies() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get all cookies.
- getCookies() - Method in interface io.karatelabs.driver.Driver
-
Get all cookies.
- getCookies() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getCookies() - Method in class io.karatelabs.http.HttpRequest
-
Parse cookies from the Cookie header(s).
- getCookies() - Method in class io.karatelabs.http.HttpResponse
-
Parse cookies from Set-Cookie headers using Netty's cookie decoder.
- getCreated() - Method in class io.karatelabs.http.Session
- getCsrfToken() - Method in class io.karatelabs.http.ServerMarkupContext
-
Get the CSRF token object for templates.
- getCurrentFrame() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the current frame, or null if in main frame.
- getCurrentFrame() - Method in interface io.karatelabs.driver.Driver
-
Get the current frame info, or null if in main frame.
- getCurrentFrame() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getCurrentLaneName() - Method in class io.karatelabs.core.Suite
- getCurrentRequest() - Method in class io.karatelabs.core.MockHandler
- getCurrentStep() - Method in record class io.karatelabs.core.HttpRunEvent
-
Convenience method to get the currently executing step.
- getCurrentStep() - Method in class io.karatelabs.core.ScenarioRuntime
- getData() - Method in class io.karatelabs.core.StepResult.Embed
- getData() - Method in class io.karatelabs.core.StepResult.Part
- getData() - Method in class io.karatelabs.http.Session
- getDebugInfo() - Method in class io.karatelabs.gherkin.Scenario
- getDebugInfo() - Method in class io.karatelabs.gherkin.Step
- getDefaultPort() - Method in enum class io.karatelabs.driver.w3c.W3cBrowserType
- getDefaultPrompt() - Method in class io.karatelabs.driver.cdp.CdpDialog
- getDefaultPrompt() - Method in interface io.karatelabs.driver.Dialog
-
Get the default prompt value (for prompt dialogs).
- getDefaultTimeout() - Method in class io.karatelabs.driver.cdp.CdpClient
- getDelay() - Method in class io.karatelabs.http.HttpResponse
- getDescription() - Method in class io.karatelabs.gherkin.Feature
- getDescription() - Method in class io.karatelabs.gherkin.Scenario
- getDescription() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getDialog() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the current dialog if one is open.
- getDialog() - Method in interface io.karatelabs.driver.Driver
-
Get the current dialog if one is open.
- getDialog() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getDialogText() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the current dialog message.
- getDialogText() - Method in interface io.karatelabs.driver.Driver
-
Get the current dialog message.
- getDialogText() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getDimensions() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get window dimensions and position.
- getDimensions() - Method in interface io.karatelabs.driver.Driver
-
Get window dimensions and position.
- getDimensions() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getDir() - Method in class io.karatelabs.core.KaratePom.OutputPom
- getDisplayName() - Method in class io.karatelabs.core.FeatureResult
- getDocString() - Method in class io.karatelabs.gherkin.Step
- getDocStringLine() - Method in class io.karatelabs.gherkin.Step
-
Returns the 0-indexed line in the feature file where the docstring content starts.
- getDriver() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the browser driver, initializing it lazily if needed.
- getDriverConfig() - Method in class io.karatelabs.core.KarateConfig
- getDriverIfPresent() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the driver without initializing it.
- getDriverProvider() - Method in class io.karatelabs.core.Suite
- getDriverScope() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the driver scope ("scenario" or "caller").
- getDurationMillis() - Method in class io.karatelabs.core.FeatureResult
- getDurationMillis() - Method in class io.karatelabs.core.ScenarioResult
- getDurationMillis() - Method in class io.karatelabs.core.StepResult
- getDurationMillis() - Method in class io.karatelabs.core.SuiteResult
- getDurationNanos() - Method in class io.karatelabs.core.ScenarioResult
- getDurationNanos() - Method in class io.karatelabs.core.StepResult
- getDynamicExpression() - Method in class io.karatelabs.gherkin.Scenario
- getDynamicExpression() - Method in class io.karatelabs.gherkin.Table
- getElementAttribute(String, String) - Method in class io.karatelabs.driver.w3c.W3cSession
- getElementId() - Method in class io.karatelabs.driver.w3c.W3cElement
-
Get the W3C element reference ID.
- getElementProperty(String, String) - Method in class io.karatelabs.driver.w3c.W3cSession
- getElementStack() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getElementStackAbove(int) - Method in class io.karatelabs.markup.MarkupTemplateContext
- getElementTagName(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- getElementText(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- getEmbeds() - Method in class io.karatelabs.core.StepResult
-
Assets attached to this step — screenshots, documents, ext payloads.
- getEndLine() - Method in class io.karatelabs.gherkin.Step
- getEndTime() - Method in class io.karatelabs.core.FeatureResult
- getEndTime() - Method in class io.karatelabs.core.PerfEvent
- getEndTime() - Method in class io.karatelabs.core.ScenarioResult
- getEndTime() - Method in class io.karatelabs.core.SuiteResult
- getEngine() - Method in class io.karatelabs.core.ScenarioRuntime
- getEngine() - Method in class io.karatelabs.http.ServerMarkupContext
- getEngine() - Method in class io.karatelabs.http.ServerRequestCycle
- getEngineSupplier() - Method in class io.karatelabs.http.ServerConfig
- getEngineSupplier() - Method in class io.karatelabs.markup.MarkupConfig
- getEnv() - Method in class io.karatelabs.cli.RunCommand
- getEnv() - Method in class io.karatelabs.core.BootBinding
-
boot.env— JS sees this as a property, not a method. - getEnv() - Method in class io.karatelabs.core.KaratePom
- getError() - Method in class io.karatelabs.core.ScenarioResult
- getError() - Method in class io.karatelabs.core.ScenarioRuntime
- getError() - Method in class io.karatelabs.core.StepResult
- getError() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getErrorCode() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getErrorListener() - Method in class io.karatelabs.http.WsClientOptions
- getErrorMessage() - Method in class io.karatelabs.core.StepResult
- getErrorMessage() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getErrorMessages() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResult.getErrors()instead. - getErrors() - Method in class io.karatelabs.core.SuiteResult
-
Get all error messages from failed scenarios.
- getErrorTemplate404() - Method in class io.karatelabs.http.ServerConfig
- getErrorTemplate500() - Method in class io.karatelabs.http.ServerConfig
- getErrorWithLocation() - Method in class io.karatelabs.core.ScenarioResult
-
The failure decorated so the feature-file location travels with the
Throwableitself — for surfaces that re-throw or dump the error raw (JUnit / surefire, the fluentRunnerAPI). - getExampleData() - Method in class io.karatelabs.gherkin.Scenario
- getExampleData(int) - Method in class io.karatelabs.gherkin.Table
- getExampleIndex() - Method in class io.karatelabs.gherkin.Scenario
- getExamplesTables() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getExecutable() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
-
Get executable path.
- getExecutable() - Method in enum class io.karatelabs.driver.w3c.W3cBrowserType
- getExecutable() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getExecutor() - Method in class io.karatelabs.core.ScenarioRuntime
- getExitCode() - Method in class io.karatelabs.process.ProcessHandle
- getExitFuture() - Method in class io.karatelabs.process.ProcessHandle
- getExpectedExpr() - Method in class io.karatelabs.gherkin.MatchExpression
- getExpires() - Method in class io.karatelabs.http.Session
- getExpiresAt() - Method in class io.karatelabs.http.OAuth2Token
- getExpiresInSeconds() - Method in class io.karatelabs.http.OAuth2Token
- getExpressionObjects() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getExts() - Method in class io.karatelabs.core.BootBinding
- getFailCount() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResult.getScenarioFailedCount()instead. - getFailedCount() - Method in class io.karatelabs.core.FeatureResult
- getFailedCount() - Method in class io.karatelabs.core.ScenarioResult
- getFailedFeatures() - Method in class io.karatelabs.core.SuiteResult
-
Get list of failed features.
- getFailedStepComment() - Method in class io.karatelabs.core.FeatureResult
-
The Gherkin comment above the failed step (the assertion label), or null when there is none.
- getFailedStepComment() - Method in class io.karatelabs.core.ScenarioResult
-
The Gherkin comment immediately above the failed step (the assertion label), e.g.
- getFailedStepDocString() - Method in class io.karatelabs.core.ScenarioResult
-
The docstring (triple-quoted block) of the failed step, rendered with its
"""delimiters exactly as it appears in the feature, or null if the step has none. - getFailedStepLine() - Method in class io.karatelabs.core.FeatureResult
-
The failed step's line number, or -1 when there is no failure or the failure is not tied to a parsed step (hook / synthetic).
- getFailedStepLine() - Method in class io.karatelabs.core.ScenarioResult
-
The 1-indexed line of the failed step, or -1 when there is no failure or the failure is not tied to a parsed step (hook / synthetic).
- getFailedStepLocation() - Method in class io.karatelabs.core.ScenarioResult
-
Get the failed step location for IDE navigation.
- getFailedStepText() - Method in class io.karatelabs.core.ScenarioResult
-
Get the Gherkin text of the failed step, including its prefix (e.g. "* match c == null").
- getFailureMessage() - Method in class io.karatelabs.core.FeatureResult
- getFailureMessage() - Method in class io.karatelabs.core.ScenarioResult
- getFailureMessageForDisplay() - Method in class io.karatelabs.core.FeatureResult
-
The failed step's
path/to/feature.feature:LINE step text, or null when there is no failure. - getFailureMessageForDisplay() - Method in class io.karatelabs.core.ScenarioResult
-
Get the failure message with feature file path and line number for display.
- getFailureReason() - Method in class io.karatelabs.core.FeatureResult
-
The failure reason without the Gherkin comment label, or null when there is no failure.
- getFailureReason() - Method in class io.karatelabs.core.ScenarioResult
-
The failure message with the Gherkin comment label stripped from the front.
- getFailureReasonSummary() - Method in class io.karatelabs.core.FeatureResult
-
The one-line "why" of the failure, e.g.
- getFailureReasonSummary() - Method in class io.karatelabs.core.ScenarioResult
-
The first line of
ScenarioResult.getFailureReason()— e.g. - getFeature() - Method in class io.karatelabs.core.FeatureCall
- getFeature() - Method in class io.karatelabs.core.FeatureResult
- getFeature() - Method in class io.karatelabs.core.FeatureRuntime
- getFeature() - Method in class io.karatelabs.gherkin.Scenario
- getFeature() - Method in class io.karatelabs.gherkin.Step
- getFeatureCount() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResult.getFeatureCount()instead. - getFeatureCount() - Method in class io.karatelabs.core.SuiteResult
- getFeatureFailedCount() - Method in class io.karatelabs.core.SuiteResult
- getFeaturePassedCount() - Method in class io.karatelabs.core.SuiteResult
- getFeatureResults() - Method in class io.karatelabs.core.SuiteResult
- getFeatureRuntime() - Method in class io.karatelabs.core.ScenarioRuntime
- getFieldName() - Method in class io.karatelabs.http.CsrfProtection.CsrfToken
- getFile(String) - Method in class io.karatelabs.http.HttpRequest
-
Canonical multipart-file accessor for server-side templates and handlers.
- getFileName() - Method in class io.karatelabs.core.StepResult.Embed
- getFileName() - Method in class io.karatelabs.core.StepResult.Part
- getFiles(String) - Method in class io.karatelabs.http.HttpRequest
-
Multi-value multipart-file accessor.
- getFirst(String) - Method in class io.karatelabs.common.Json
- getFlash() - Method in class io.karatelabs.http.ServerMarkupContext
- getFormats() - Method in class io.karatelabs.cli.RunCommand
- getFormFields() - Method in class io.karatelabs.http.MultiPartBuilder
- getFrameOwnerBackendNodeId(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
The
backendNodeIdof the<iframe>/<frame>element that owns the given frame (DOM.getFrameOwner). - getGlobal(String) - Method in class io.karatelabs.core.Suite
-
The ext global registered under
name, ornullif none. - getGlobal(String, Object) - Method in class io.karatelabs.http.ServerMarkupContext
-
Per-request engine-binding read with optional default.
- getGlobals() - Method in class io.karatelabs.core.BootBinding
-
The ext globals registered during boot (each ext's
onBootran eagerly inBootBinding.ext(java.lang.String), e.g. - getGlobals() - Method in class io.karatelabs.core.MockHandler
- getGlobals() - Method in class io.karatelabs.core.Suite
-
Immutable view of all ext globals, in registration order.
- getGlobalVariables() - Method in class io.karatelabs.http.ServerConfig
- getHandler() - Method in class io.karatelabs.core.MockServer
-
Get the underlying MockHandler.
- getHandshakeFuture() - Method in class io.karatelabs.http.WsClientHandler
- getHeader(String) - Method in class io.karatelabs.driver.InterceptRequest
-
Get a specific header value.
- getHeader(String) - Method in class io.karatelabs.http.HttpRequest
- getHeader(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- getHeader(String) - Method in class io.karatelabs.http.HttpResponse
- getHeaderName() - Method in class io.karatelabs.http.CsrfProtection.CsrfToken
- getHeaders() - Method in class io.karatelabs.core.KarateConfig
- getHeaders() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the request headers.
- getHeaders() - Method in class io.karatelabs.driver.InterceptResponse
-
Get the response headers.
- getHeaders() - Method in class io.karatelabs.http.HttpRequest
- getHeaders() - Method in class io.karatelabs.http.HttpRequestBuilder
- getHeaders() - Method in class io.karatelabs.http.HttpResponse
- getHeaders() - Method in class io.karatelabs.http.WsClientOptions
- getHeaderValues(String) - Method in class io.karatelabs.http.HttpRequest
- getHeaderValues(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- getHeaderValues(String) - Method in class io.karatelabs.http.HttpResponse
- getHighlightDuration() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getHighlightDuration() - Method in interface io.karatelabs.driver.DriverOptions
-
Get highlight duration in milliseconds.
- getHighlightDuration() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getHookName() - Method in class io.karatelabs.core.StepResult
- getHost() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getHost() - Method in class io.karatelabs.driver.cdp.CdpLauncher
- getHost() - Method in class io.karatelabs.http.WsClientOptions
- getHstsMaxAge() - Method in class io.karatelabs.http.ServerConfig
- getHttp() - Method in class io.karatelabs.core.ScenarioRuntime
- getHttpClientFactory() - Method in class io.karatelabs.core.Suite
- getId() - Method in class io.karatelabs.driver.cdp.CdpMessage
- getId() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getId() - Method in class io.karatelabs.http.Session
- getIdentifierSequences() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getIndex() - Method in class io.karatelabs.gherkin.FeatureSection
- getIndex() - Method in class io.karatelabs.gherkin.Step
- getInheritedVariables() - Method in class io.karatelabs.core.ScenarioRuntime
- getInliner() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getInterceptor() - Method in class io.karatelabs.core.ScenarioRuntime
- getJson(String) - Method in class io.karatelabs.common.Json
- getJsonlPath() - Method in class io.karatelabs.core.JsonLinesEventWriter
-
Get the path to the JSON Lines file.
- getKarate() - Method in class io.karatelabs.core.ScenarioRuntime
- getKarateJsonFileName() - Method in class io.karatelabs.gherkin.Feature
- getKarateType() - Method in enum class io.karatelabs.driver.w3c.W3cBrowserType
- getKeyPath() - Method in class io.karatelabs.core.SslConfig
- getKeys() - Method in class io.karatelabs.gherkin.Table
- getKeyStore() - Method in class io.karatelabs.core.SslConfig
- getKeyStorePassword() - Method in class io.karatelabs.core.SslConfig
- getKeyStoreType() - Method in class io.karatelabs.core.SslConfig
- getKeyword() - Method in class io.karatelabs.gherkin.Step
- getKind() - Method in exception class io.karatelabs.http.TemplateFlowSignal
- getLargeStore() - Method in class io.karatelabs.match.Value
-
Returns the large value store for disk-backed collections, or null.
- getLastExecuted() - Method in class io.karatelabs.core.FeatureRuntime
- getLine() - Method in class io.karatelabs.gherkin.Background
- getLine() - Method in class io.karatelabs.gherkin.ExamplesTable
- getLine() - Method in class io.karatelabs.gherkin.Feature
- getLine() - Method in class io.karatelabs.gherkin.FeatureSection
- getLine() - Method in class io.karatelabs.gherkin.Scenario
- getLine() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getLine() - Method in class io.karatelabs.gherkin.Step
- getLine() - Method in class io.karatelabs.gherkin.Tag
- getLineCount() - Method in class io.karatelabs.gherkin.Step
- getLineNumberForRow(int) - Method in class io.karatelabs.gherkin.Table
- getListElement(int) - Method in class io.karatelabs.match.Value
-
Gets an element at the specified index, working for both regular and large collections.
- getListenerFactories() - Method in class io.karatelabs.core.KaratePom
- getListeners() - Method in class io.karatelabs.core.KaratePom
- getListenResult() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the current listen result without waiting.
- getListSize() - Method in class io.karatelabs.match.Value
-
Returns the size of a list, working for both regular and large collections.
- getLocalAddress() - Method in class io.karatelabs.core.KarateConfig
- getLocalAddress() - Method in class io.karatelabs.http.HttpServer
-
The socket address the server actually bound to — a wildcard (
isAnyLocalAddress) when started with a null/blank/"0.0.0.0"host, else the specific interface (e.g. loopback for"localhost"). - getLocale() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getLocation() - Method in exception class io.karatelabs.http.ServerRequestHandler.RedirectException
- getLocator() - Method in class io.karatelabs.driver.BaseElement
- getLocator() - Method in interface io.karatelabs.driver.Element
- getLockManager() - Method in class io.karatelabs.core.Suite
- getLog() - Method in class io.karatelabs.core.StepResult
-
The step's captured output — HTTP request / response blocks,
print. - getLogConsole() - Method in class io.karatelabs.cli.RunCommand
- getLogging() - Method in class io.karatelabs.core.KarateConfig
- getLogging() - Method in class io.karatelabs.core.KaratePom
- getLoggingConsoleLevel() - Method in class io.karatelabs.core.KarateConfig
- getLoggingReportLevel() - Method in class io.karatelabs.core.KarateConfig
- getLogHandler() - Method in class io.karatelabs.http.ServerConfig
- getLogLevel() - Static method in class io.karatelabs.output.LogContext
-
Get the current log level threshold.
- getLogMessages() - Method in class io.karatelabs.http.ServerMarkupContext
- getLogReport() - Method in class io.karatelabs.cli.RunCommand
- getLoopIndex() - Method in class io.karatelabs.core.FeatureResult
- getLoopIndex() - Method in class io.karatelabs.core.FeatureRuntime
- getManifest() - Method in interface io.karatelabs.core.Ext
-
Manifest entry recorded under
SUITE_ENTER.data.exts[]so receivers know which exts were active for this run and with what config. - getMarkupScope() - Method in class io.karatelabs.http.ServerMarkupContext
- getMarkupScope() - Method in interface io.karatelabs.markup.MarkupContext
-
Companion accessor for
MarkupContext.setMarkupScope(MarkupScope). - getMask() - Method in class io.karatelabs.output.LogContext
- getMatchTypeName() - Method in class io.karatelabs.gherkin.MatchExpression
-
Converts operator string to Match.Type enum name.
- getMaxPayloadSize() - Method in class io.karatelabs.http.WsClientOptions
- getMember(String) - Method in class io.karatelabs.http.HttpResponse
- getMember(String) - Method in class io.karatelabs.http.Session
- getMessage() - Method in class io.karatelabs.core.PerfEvent
- getMessage() - Method in class io.karatelabs.driver.cdp.CdpDialog
- getMessage() - Method in interface io.karatelabs.driver.Dialog
-
Get the dialog message.
- getMessage(Class<?>, String, Object[], boolean) - Method in class io.karatelabs.markup.MarkupTemplateContext
- getMessageListener() - Method in class io.karatelabs.http.WsClientOptions
- getMeta() - Method in class io.karatelabs.core.StepResult.Embed
- getMethod() - Method in class io.karatelabs.driver.cdp.CdpEvent
- getMethod() - Method in class io.karatelabs.driver.cdp.CdpMessage
- getMethod() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the HTTP method (GET, POST, etc.).
- getMethod() - Method in class io.karatelabs.http.HttpRequest
- getMethod() - Method in class io.karatelabs.http.PkceGenerator
- getMime() - Method in class io.karatelabs.core.StepResult.Part
- getMimeType() - Method in class io.karatelabs.core.StepResult.Embed
- getModelFactory() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getMultiPart(String) - Method in class io.karatelabs.http.HttpRequest
-
Get a single multipart field by name.
- getMultiParts() - Method in class io.karatelabs.http.HttpRequest
-
Get all multipart data.
- getName() - Method in class io.karatelabs.core.PerfEvent
- getName() - Method in class io.karatelabs.core.StepResult.Embed
- getName() - Method in class io.karatelabs.gherkin.ExamplesTable
- getName() - Method in class io.karatelabs.gherkin.Feature
- getName() - Method in class io.karatelabs.gherkin.Scenario
- getName() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getName() - Method in class io.karatelabs.gherkin.Tag
- getNameAndDescription() - Method in class io.karatelabs.gherkin.Feature
- getNameAndDescription() - Method in class io.karatelabs.gherkin.Scenario
- getNameForReport() - Method in class io.karatelabs.gherkin.Feature
- getNegotiatedSubprotocol() - Method in class io.karatelabs.http.WsClient
- getNonProxyHosts() - Method in class io.karatelabs.core.KarateConfig
- getNtlmAuth() - Method in class io.karatelabs.core.KarateConfig
- getNtlmDomain() - Method in class io.karatelabs.core.KarateConfig
- getNtlmPassword() - Method in class io.karatelabs.core.KarateConfig
- getNtlmUsername() - Method in class io.karatelabs.core.KarateConfig
- getNtlmWorkstation() - Method in class io.karatelabs.core.KarateConfig
- getNumExampleTables() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getNumScenarios() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getOnResult() - Method in class io.karatelabs.match.Expect
- getOnStepFailure() - Method in class io.karatelabs.core.KarateConfig
- getOperator() - Method in class io.karatelabs.gherkin.MatchExpression
- getOptional(String) - Method in class io.karatelabs.common.Json
- getOptions() - Method in class io.karatelabs.driver.cdp.CdpDriver
- getOptions() - Method in interface io.karatelabs.driver.CoreDriver
-
Get driver options.
- getOptions() - Method in interface io.karatelabs.driver.Driver
-
Get driver options.
- getOptions() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getOrCreatePath(Map<String, Object>, String) - Static method in class io.karatelabs.core.StepUtils
-
Navigate to or create a nested path in a map structure.
- getOrCreateToken(Session) - Static method in class io.karatelabs.http.CsrfProtection
-
Get or create a CSRF token for the given session.
- getOutline() - Method in class io.karatelabs.gherkin.ExamplesTable
- getOutput() - Method in class io.karatelabs.core.KaratePom
- getOutputDir() - Method in class io.karatelabs.cli.CleanCommand
- getOutputDir() - Method in class io.karatelabs.cli.RunCommand
- getOutputDir() - Method in class io.karatelabs.core.Suite
- getPackageQualifiedName() - Method in class io.karatelabs.gherkin.Feature
- getPageLoadStrategy() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getPageLoadStrategy() - Method in interface io.karatelabs.driver.DriverOptions
-
Get page load strategy.
- getPageLoadStrategy() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getPages() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get list of all page targets (tabs).
- getPages() - Method in interface io.karatelabs.driver.Driver
-
Get list of all page targets (tabs).
- getPages() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getParam(String) - Method in class io.karatelabs.http.HttpRequest
- getParam(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- getParams() - Method in class io.karatelabs.driver.cdp.CdpEvent
- getParams() - Method in class io.karatelabs.driver.cdp.CdpMessage
- getParams() - Method in class io.karatelabs.http.HttpRequest
- getParamValues(String) - Method in class io.karatelabs.http.HttpRequest
- getParts() - Method in class io.karatelabs.core.StepResult.Embed
- getPassCount() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResult.getScenarioPassedCount()instead. - getPassedCount() - Method in class io.karatelabs.core.FeatureResult
- getPassedCount() - Method in class io.karatelabs.core.ScenarioResult
- getPassedRate() - Method in class io.karatelabs.core.FeatureResult
-
Pass rate as an integer percentage 0–100, or null when no scenarios executed.
- getPassword() - Method in class io.karatelabs.http.BasicAuthHandler
- getPath() - Method in class io.karatelabs.http.HttpRequest
- getPath() - Method in exception class io.karatelabs.http.PathSecurity.PathTraversalException
- getPathOptions() - Method in class io.karatelabs.cli.RunCommand
- getPathParams() - Method in class io.karatelabs.http.HttpRequest
- getPathRaw() - Method in class io.karatelabs.http.HttpRequest
- getPaths() - Method in class io.karatelabs.cli.RunCommand
- getPaths() - Method in class io.karatelabs.core.KaratePom
- getPaths() - Method in class io.karatelabs.http.HttpRequestBuilder
- getPerfEventName(HttpRequest, ScenarioRuntime) - Method in interface io.karatelabs.core.PerfHook
-
Get the name for a performance event based on the HTTP request.
- getPerfFailureMessage() - Method in class io.karatelabs.core.ScenarioResult
-
The failure rendered for a performance-tool KO message:
"path/to/feature.feature:LINE step text - reason". - getPerfHook() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get the PerfHook for reporting performance events.
- getPerfHook() - Method in class io.karatelabs.core.Suite
- getPid() - Method in class io.karatelabs.process.ProcessHandle
- getPingInterval() - Method in class io.karatelabs.http.WsClientOptions
- getPointFactory() - Method in class io.karatelabs.core.ScenarioRuntime
- getPomFile() - Method in class io.karatelabs.cli.RunCommand
- getPoolSize() - Method in class io.karatelabs.driver.PooledDriverProvider
-
Get current pool size (may be -1 if not yet initialized).
- getPort() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getPort() - Method in class io.karatelabs.core.MockServer
-
Get the port the server is listening on.
- getPort() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getPort() - Method in class io.karatelabs.driver.cdp.CdpLauncher
- getPort() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getPort() - Method in class io.karatelabs.http.HttpServer
- getPort() - Method in class io.karatelabs.http.LocalCallbackServer
- getPort() - Method in class io.karatelabs.http.WsClientOptions
- getPositionJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get element position.
- getPostData() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the POST data (request body).
- getPrefix() - Method in class io.karatelabs.gherkin.Step
- getPreSubmitHash() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getPreSubmitHash() - Method in interface io.karatelabs.driver.DriverOptions
-
Get the pre-submit hash (set by submit(), cleared after next action).
- getPreSubmitHash() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getProcessors(String) - Method in class io.karatelabs.markup.HxDialect
- getProxy() - Method in class io.karatelabs.core.KarateConfig
- getProxyPassword() - Method in class io.karatelabs.core.KarateConfig
- getProxyUri() - Method in class io.karatelabs.core.KarateConfig
- getProxyUsername() - Method in class io.karatelabs.core.KarateConfig
- getRaw() - Method in class io.karatelabs.driver.cdp.CdpEvent
- getRaw() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getRawExampleData(int) - Method in class io.karatelabs.gherkin.Table
-
Returns the verbatim cell text (keyed by column name) for the given example row.
- getRawMessage() - Method in exception class io.karatelabs.core.KarateException
-
The original error message, without the appended
path.feature:linelocation. - getRawPaths() - Method in class io.karatelabs.http.ServerConfig
- getReadTimeout() - Method in class io.karatelabs.core.KarateConfig
- getRedirectPath() - Method in class io.karatelabs.http.ServerMarkupContext
- getReferrerPolicy() - Method in class io.karatelabs.http.ServerConfig
- getRefId() - Method in class io.karatelabs.gherkin.Scenario
- getRefIdAndName() - Method in class io.karatelabs.gherkin.Scenario
- getRefreshToken() - Method in class io.karatelabs.http.OAuth2Token
- getReport() - Method in class io.karatelabs.core.KarateConfig
- getReport() - Method in class io.karatelabs.core.KaratePom.LoggingPom
- getReportAssets() - Method in class io.karatelabs.core.Suite
-
Immutable view of all registered ext report-asset specs, in registration order.
- getReportDir() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Configure output directory via Runner.Builder.outputDir() instead.
- getReportDir() - Method in class io.karatelabs.core.SuiteResult
- getRequest() - Method in class io.karatelabs.http.HttpResponse
- getRequest() - Method in class io.karatelabs.http.ServerMarkupContext
- getRequest() - Method in class io.karatelabs.http.ServerRequestCycle
- getRequestFilter() - Method in class io.karatelabs.http.ServerConfig
- getRequestId() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the CDP request ID for this interception.
- getRequestInterceptor() - Method in class io.karatelabs.http.ServerConfig
- getResolvedFeatures() - Method in class io.karatelabs.core.Runner.Builder
-
Provisional API — may change or be removed without notice. Exposed to support advanced runtime scenario discovery (e.g. sequential retry against an expensive grid session) until in-suite orchestration hooks land.
- getResolver() - Method in class io.karatelabs.markup.MarkupConfig
- getResource() - Method in class io.karatelabs.gherkin.Feature
- getResourceRoot() - Method in class io.karatelabs.http.ServerConfig
- getResourceType() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the resource type (Document, Script, Stylesheet, Image, etc.).
- getResourceType() - Method in class io.karatelabs.http.HttpRequest
- getResourceType() - Method in class io.karatelabs.http.HttpResponse
- getResponse() - Method in class io.karatelabs.http.ServerMarkupContext
- getResponse() - Method in class io.karatelabs.http.ServerRequestCycle
- getResponseHeaders() - Method in class io.karatelabs.core.KarateConfig
- getResponseHeaders() - Method in class io.karatelabs.core.MockConfig
- getResponseTime() - Method in class io.karatelabs.http.HttpResponse
- getResult() - Method in class io.karatelabs.core.FeatureRuntime
- getResult() - Method in class io.karatelabs.core.ScenarioRuntime
- getResult() - Method in class io.karatelabs.core.Suite
- getResult() - Method in class io.karatelabs.driver.cdp.CdpResponse
- getResult(String) - Method in class io.karatelabs.driver.cdp.CdpResponse
-
Get value from result using JSONPath.
- getResultAsBoolean(String) - Method in class io.karatelabs.driver.cdp.CdpResponse
-
Get value from result as Boolean.
- getResultAsInt(String) - Method in class io.karatelabs.driver.cdp.CdpResponse
-
Get value from result as Integer.
- getResultAsString(String) - Method in class io.karatelabs.driver.cdp.CdpResponse
-
Get value from result as String.
- getResultListeners() - Method in class io.karatelabs.core.Suite
- getResultVariables() - Method in class io.karatelabs.core.FeatureResult
- getRetry() - Method in class io.karatelabs.core.KarateConfig
- getRetryCount() - Method in class io.karatelabs.core.KarateConfig
- getRetryCount() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getRetryCount() - Method in interface io.karatelabs.driver.DriverOptions
-
Get retry count for operations.
- getRetryCount() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getRetryInterval() - Method in class io.karatelabs.core.KarateConfig
- getRetryInterval() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getRetryInterval() - Method in interface io.karatelabs.driver.DriverOptions
-
Get retry interval in milliseconds.
- getRetryInterval() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getRetryUntil() - Method in class io.karatelabs.http.HttpRequestBuilder
- getRole() - Method in class io.karatelabs.core.StepResult.Part
- getRoot() - Method in class io.karatelabs.core.Suite
-
THE root — the single anchor every path reference resolves against: a leading
/means this directory, a bare ref is relative to it, and aclasspath:miss falls back underSuite.getClasspathRoot(). - getRows() - Method in class io.karatelabs.gherkin.Table
- getRowsAsMaps() - Method in class io.karatelabs.gherkin.Table
- getRowsAsMapsConverted() - Method in class io.karatelabs.gherkin.Table
- getRuntime() - Method in interface io.karatelabs.core.KarateJsContext
-
Returns the ScenarioRuntime, or null for standalone usage.
- getRuntime() - Method in class io.karatelabs.core.ScenarioRuntime
- getScenario() - Method in class io.karatelabs.core.ScenarioResult
- getScenario() - Method in class io.karatelabs.core.ScenarioRuntime
- getScenario() - Method in class io.karatelabs.gherkin.FeatureSection
- getScenarioCount() - Method in class com.intuit.karate.Results
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResult.getScenarioCount()instead. - getScenarioCount() - Method in class io.karatelabs.core.FeatureResult
- getScenarioCount() - Method in class io.karatelabs.core.SuiteResult
- getScenarioExecutor() - Method in class io.karatelabs.core.Suite
- getScenarioFailedCount() - Method in class io.karatelabs.core.SuiteResult
- getScenarioName() - Method in class io.karatelabs.cli.RunCommand
- getScenarioName() - Method in class io.karatelabs.core.KaratePom
- getScenarioOutline() - Method in class io.karatelabs.gherkin.FeatureSection
- getScenarioPassedCount() - Method in class io.karatelabs.core.SuiteResult
- getScenarioPassedRate() - Method in class io.karatelabs.core.SuiteResult
-
Pass rate as an integer percentage 0–100, or null when no scenarios executed.
- getScenarioResults() - Method in class io.karatelabs.core.FeatureResult
- getScenarioSemaphore() - Method in class io.karatelabs.core.Suite
- getScenarioSkippedCount() - Method in class io.karatelabs.core.SuiteResult
- getScope() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
-
Get driver scope (default: "scenario").
- getScope() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getScope() - Method in class io.karatelabs.http.OAuth2Token
- getSection() - Method in class io.karatelabs.gherkin.Scenario
- getSection() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getSection(int) - Method in class io.karatelabs.gherkin.Feature
- getSections() - Method in class io.karatelabs.gherkin.Feature
- getSelected() - Method in class io.karatelabs.gherkin.Scenario
- getSelectionTarget() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getSession() - Method in class io.karatelabs.driver.w3c.W3cDriver
-
Get the underlying W3C session for direct protocol access.
- getSession() - Method in class io.karatelabs.http.ServerMarkupContext
- getSessionCookieName() - Method in class io.karatelabs.http.ServerConfig
- getSessionExpirySeconds() - Method in class io.karatelabs.http.ServerConfig
- getSessionId() - Method in class io.karatelabs.driver.cdp.CdpClient
-
Get the current session ID.
- getSessionId() - Method in class io.karatelabs.driver.cdp.CdpEvent
- getSessionId() - Method in class io.karatelabs.driver.cdp.CdpMessage
- getSessionId() - Method in class io.karatelabs.driver.w3c.W3cSession
- getSessionSameSite() - Method in class io.karatelabs.http.ServerConfig
- getSessionStore() - Method in class io.karatelabs.http.ServerConfig
- getSetup(String) - Method in class io.karatelabs.gherkin.Feature
- getSetupOnceCache() - Method in class io.karatelabs.core.FeatureRuntime
- getSetupOnceCache(String) - Method in class io.karatelabs.core.Suite
- getShellTemplate() - Method in class io.karatelabs.http.ServerConfig
- getSkippedCount() - Method in class io.karatelabs.core.FeatureResult
- getSkippedCount() - Method in class io.karatelabs.core.ScenarioResult
- getSourceFromContext(Context) - Static method in class io.karatelabs.match.Expect
-
Extracts the source expression from the JS Context AST.
- getSsl() - Method in class io.karatelabs.core.KarateConfig
- getSslAlgorithm() - Method in class io.karatelabs.core.KarateConfig
- getSslContext() - Method in class io.karatelabs.http.WsClientOptions
- getSslKeyStore() - Method in class io.karatelabs.core.KarateConfig
- getSslKeyStorePassword() - Method in class io.karatelabs.core.KarateConfig
- getSslKeyStoreType() - Method in class io.karatelabs.core.KarateConfig
- getSslTrustStore() - Method in class io.karatelabs.core.KarateConfig
- getSslTrustStorePassword() - Method in class io.karatelabs.core.KarateConfig
- getSslTrustStoreType() - Method in class io.karatelabs.core.KarateConfig
- getStableId() - Method in class io.karatelabs.core.ScenarioResult
-
The author-set
__idstable identity, or null when unset (derive the slug). - getStartTime() - Method in class io.karatelabs.core.FeatureResult
- getStartTime() - Method in class io.karatelabs.core.PerfEvent
- getStartTime() - Method in class io.karatelabs.core.ScenarioResult
- getStartTime() - Method in class io.karatelabs.core.StepResult
- getStartTime() - Method in class io.karatelabs.core.SuiteResult
- getStartTime() - Method in class io.karatelabs.http.HttpResponse
- getStaticPrefix() - Method in class io.karatelabs.http.ServerConfig
- getStats() - Method in class io.karatelabs.driver.PooledDriverProvider
-
Get current pool statistics for monitoring.
- getStatus() - Method in class io.karatelabs.core.StepResult
- getStatus() - Method in class io.karatelabs.driver.InterceptResponse
-
Get the HTTP status code.
- getStatus() - Method in class io.karatelabs.http.HttpResponse
- getStatusCode() - Method in class io.karatelabs.core.PerfEvent
- getStatusFailureMessage(int, HttpRequest, HttpResponse) - Static method in class io.karatelabs.output.HttpLogger
- getStatusText() - Method in class io.karatelabs.http.HttpResponse
- getStdErr() - Method in class io.karatelabs.process.ProcessHandle
- getStdOut() - Method in class io.karatelabs.process.ProcessHandle
- getStep() - Method in class io.karatelabs.core.StepResult
- getStepByLine(int) - Method in class io.karatelabs.gherkin.Scenario
- getStepCount() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get total number of steps.
- getStepIndex() - Method in class io.karatelabs.core.ScenarioRuntime
-
Get current step index for debugging.
- getStepResults() - Method in class io.karatelabs.core.ScenarioResult
- getSteps() - Method in class io.karatelabs.gherkin.Background
- getSteps() - Method in class io.karatelabs.gherkin.Scenario
- getSteps() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getStepsIncludingBackground() - Method in class io.karatelabs.gherkin.Scenario
- getSubject() - Method in class io.karatelabs.match.Expect
- getSubProtocol() - Method in class io.karatelabs.http.WsClientOptions
- getSuite() - Method in class io.karatelabs.core.FeatureRuntime
- getSummaryCards() - Method in class io.karatelabs.core.Suite
-
The contributed KPI summary cards, in registration order (empty when no ext added any).
- getSwitchTemplate() - Method in class io.karatelabs.http.ServerMarkupContext
- getSyntheticText() - Method in class io.karatelabs.core.StepResult
-
The display text of a synthetic step (
StepResult.synthetic(java.lang.String, io.karatelabs.core.StepResult.Status, long, java.lang.Throwable)); null for a parsed/hook step. - getSystemProperties() - Method in class io.karatelabs.core.Suite
-
Get system properties for karate.properties.
- getSystemProperty(String) - Method in class io.karatelabs.core.Suite
-
One property, without building the map — what
karate.sysprop(name)wants. - getTable() - Method in class io.karatelabs.gherkin.ExamplesTable
- getTable() - Method in class io.karatelabs.gherkin.Step
- getTags() - Method in class io.karatelabs.cli.RunCommand
- getTags() - Method in class io.karatelabs.core.KaratePom
- getTags() - Method in class io.karatelabs.gherkin.ExamplesTable
- getTags() - Method in class io.karatelabs.gherkin.Feature
- getTags() - Method in class io.karatelabs.gherkin.Scenario
- getTags() - Method in class io.karatelabs.gherkin.ScenarioOutline
- getTagsEffective() - Method in class io.karatelabs.gherkin.Scenario
-
Returns the effective tags for this scenario, including inherited feature-level tags.
- getTagSelector() - Method in class io.karatelabs.core.FeatureCall
- getTagTexts() - Method in class io.karatelabs.core.TagSelector
- getTagValues() - Method in class io.karatelabs.core.TagSelector
- getTargetInfos() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get info for all page targets (tabs) — targetId, url, title, active flag.
- getTemplateData() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getTemplateMode() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getTemplateName() - Method in class io.karatelabs.http.ServerMarkupContext
- getTemplateName() - Method in interface io.karatelabs.markup.MarkupContext
-
Returns the current template name (without leading slash).
- getTemplateResolutionAttributes() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getTemplateRoutes() - Method in class io.karatelabs.http.ServerConfig
- getTemplateStack() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getText() - Method in class io.karatelabs.gherkin.Step
- getText() - Method in class io.karatelabs.gherkin.Tag
- getText() - Method in class io.karatelabs.http.WsFrame
- getThreadName() - Method in class io.karatelabs.core.ScenarioResult
- getThreads() - Method in class io.karatelabs.cli.RunCommand
- getThreads() - Method in class io.karatelabs.core.KaratePom
- getThreadTimeMillis() - Method in class io.karatelabs.core.SuiteResult
-
Get sum of all scenario execution times (thread time).
- getTimeout() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getTimeout() - Method in class io.karatelabs.driver.cdp.CdpMessage
- getTimeout() - Method in interface io.karatelabs.driver.DriverOptions
-
Get timeout in milliseconds.
- getTimeout() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getTimeoutDuration() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getTimeoutDuration() - Method in interface io.karatelabs.driver.DriverOptions
-
Get timeout as Duration.
- getTimeoutDuration() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getTimeStamp() - Method in record class io.karatelabs.core.ErrorRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.FeatureRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.HttpRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.OutlineRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.ProgressRunEvent
- getTimeStamp() - Method in interface io.karatelabs.core.RunEvent
-
Returns the timestamp when this event occurred (epoch milliseconds).
- getTimeStamp() - Method in record class io.karatelabs.core.ScenarioRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.StepRunEvent
- getTimeStamp() - Method in record class io.karatelabs.core.SuiteRunEvent
- getTitle() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get page title.
- getTitle() - Method in interface io.karatelabs.driver.Driver
-
Get page title.
- getTitle() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getTitle() - Method in class io.karatelabs.driver.w3c.W3cSession
- getToken() - Method in class io.karatelabs.http.CsrfProtection.CsrfToken
- getTokenFromRequest(HttpRequest) - Static method in class io.karatelabs.http.CsrfProtection
-
Extract CSRF token from request (header or form field).
- getTokens(Resource) - Static method in class io.karatelabs.gherkin.GherkinParser
- getTokenType() - Method in class io.karatelabs.http.OAuth2Token
- getTrustStore() - Method in class io.karatelabs.core.SslConfig
- getTrustStorePassword() - Method in class io.karatelabs.core.SslConfig
- getTrustStorePath() - Method in class io.karatelabs.core.SslConfig
- getTrustStoreType() - Method in class io.karatelabs.core.SslConfig
- getType() - Method in record class io.karatelabs.core.ErrorRunEvent
- getType() - Method in record class io.karatelabs.core.FeatureRunEvent
- getType() - Method in record class io.karatelabs.core.HttpRunEvent
- getType() - Method in record class io.karatelabs.core.OutlineRunEvent
- getType() - Method in record class io.karatelabs.core.ProgressRunEvent
- getType() - Method in interface io.karatelabs.core.RunEvent
-
Returns the event type.
- getType() - Method in record class io.karatelabs.core.ScenarioRunEvent
- getType() - Method in record class io.karatelabs.core.StepRunEvent
- getType() - Method in record class io.karatelabs.core.SuiteRunEvent
- getType() - Method in class io.karatelabs.driver.cdp.CdpDialog
- getType() - Method in interface io.karatelabs.driver.Dialog
-
Get the dialog type.
- getType() - Method in interface io.karatelabs.http.AuthHandler
- getType() - Method in class io.karatelabs.http.AuthorizationCodeAuthHandler
- getType() - Method in class io.karatelabs.http.BasicAuthHandler
- getType() - Method in class io.karatelabs.http.BearerAuthHandler
- getType() - Method in class io.karatelabs.http.ClientCredentialsAuthHandler
- getType() - Method in exception class io.karatelabs.http.WsException
- getType() - Method in class io.karatelabs.http.WsFrame
- getUniqueId() - Method in class io.karatelabs.gherkin.Scenario
- getUpdated() - Method in class io.karatelabs.http.Session
- getUri() - Method in class io.karatelabs.http.HttpRequestBuilder
- getUri() - Method in class io.karatelabs.http.WsClient
- getUri() - Method in class io.karatelabs.http.WsClientOptions
- getUriToLineNumber() - Method in class io.karatelabs.gherkin.Scenario
- getUrl() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getUrl() - Method in class io.karatelabs.core.KarateConfig
- getUrl() - Method in class io.karatelabs.core.MockServer
-
Get the base URL for the server (e.g., http://localhost:8080 or https://localhost:8443).
- getUrl() - Method in class io.karatelabs.core.StepResult.Part
- getUrl() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get current URL.
- getUrl() - Method in interface io.karatelabs.driver.Driver
-
Get current URL.
- getUrl() - Method in class io.karatelabs.driver.InterceptRequest
-
Get the request URL.
- getUrl() - Method in class io.karatelabs.driver.w3c.W3cDriver
- getUrl() - Method in class io.karatelabs.driver.w3c.W3cSession
- getUrl() - Method in class io.karatelabs.http.HttpRequestBuilder
- getUrlAndPath() - Method in class io.karatelabs.http.HttpRequest
- getUserAgent() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getUserDataDir() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getUsername() - Method in class io.karatelabs.http.BasicAuthHandler
- getValidToken() - Method in class io.karatelabs.http.OAuth2TokenManager
-
Get current valid token (null if expired or not available)
- getValue() - Method in class io.karatelabs.match.Value
- getValueAsString(String, int) - Method in class io.karatelabs.gherkin.Table
- getValues() - Method in class io.karatelabs.gherkin.Tag
- getVariable(String) - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getVariable(String) - Method in class io.karatelabs.core.MockHandler
- getVariable(String) - Method in class io.karatelabs.core.MockServer
-
Get a variable from the mock handler's global context.
- getVariable(String) - Method in class io.karatelabs.core.ScenarioRuntime
- getVariable(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- getVariableNames() - Method in class io.karatelabs.markup.MarkupTemplateContext
- getVerifier() - Method in class io.karatelabs.http.PkceGenerator
- getWebDriverUrl() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- getWebSocketUrl() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- getWebSocketUrl() - Method in class io.karatelabs.driver.cdp.CdpLauncher
- getWebSocketUrl(String, int) - Static method in class io.karatelabs.driver.cdp.CdpLauncher
-
Get WebSocket URL from existing browser at host:port.
- getWindowHandle() - Method in class io.karatelabs.driver.w3c.W3cSession
- getWindowHandles() - Method in class io.karatelabs.driver.w3c.W3cSession
- getWindowRect() - Method in class io.karatelabs.driver.w3c.W3cSession
- getWorkingDir() - Method in class io.karatelabs.cli.CleanCommand
- getWorkingDir() - Method in class io.karatelabs.cli.RunCommand
- getWorkingDir() - Method in interface io.karatelabs.core.KarateJsContext
-
Returns the working directory resource for resolving relative paths.
- getWorkingDir() - Method in class io.karatelabs.core.KaratePom
- getWorkingDir() - Method in class io.karatelabs.core.ScenarioRuntime
- getWorkingDir() - Method in class io.karatelabs.core.Suite
-
The launch/output anchor.
- getX() - Method in class io.karatelabs.driver.cdp.CdpMouse
- getX() - Method in interface io.karatelabs.driver.Mouse
-
Get current x coordinate.
- getX() - Method in class io.karatelabs.driver.w3c.W3cMouse
- getXFrameOptions() - Method in class io.karatelabs.http.ServerConfig
- getY() - Method in class io.karatelabs.driver.cdp.CdpMouse
- getY() - Method in interface io.karatelabs.driver.Mouse
-
Get current y coordinate.
- getY() - Method in class io.karatelabs.driver.w3c.W3cMouse
- GherkinLexer - Class in io.karatelabs.gherkin
-
Lexer for Gherkin syntax with embedded JavaScript expressions.
- GherkinLexer(Resource) - Constructor for class io.karatelabs.gherkin.GherkinLexer
- GherkinParser - Class in io.karatelabs.gherkin
- GherkinParser(Resource) - Constructor for class io.karatelabs.gherkin.GherkinParser
- GherkinParser(Resource, boolean) - Constructor for class io.karatelabs.gherkin.GherkinParser
- global(String, Object) - Method in class io.karatelabs.core.Runner.Builder
-
Bind a JS global (an ext-global-shaped object, typically a
SimpleObject) into every scenario of this run — the run-free / programmatic equivalent of anExtcallingSuite.registerGlobal(String, Object)inonBoot. - Globals - Class in io.karatelabs.core
-
Global constants and utilities for Karate runtime.
- globalVariables(Map<String, Object>) - Method in class io.karatelabs.http.ServerConfig
-
Set global variables that will be available in all templates and API handlers.
- green(String) - Static method in class io.karatelabs.output.Console
- GREEN - Static variable in class io.karatelabs.output.Console
- grey(String) - Static method in class io.karatelabs.output.Console
- GREY - Static variable in class io.karatelabs.output.Console
H
- handle() - Method in class io.karatelabs.http.ServerRequestCycle
-
Main entry point - routes to API or HTML handler.
- handle(Dialog) - Method in interface io.karatelabs.driver.DialogHandler
-
Handle a JavaScript dialog.
- handle(InterceptRequest) - Method in interface io.karatelabs.driver.InterceptHandler
-
Handle an intercepted request.
- handleCloseElement(ICloseElementTag) - Method in class io.karatelabs.markup.FragmentTraceHandler
- handleOpenElement(IOpenElementTag) - Method in class io.karatelabs.markup.FragmentTraceHandler
- handlerAdded(ChannelHandlerContext) - Method in class io.karatelabs.http.WsClientHandler
- handleStandaloneElement(IStandaloneElementTag) - Method in class io.karatelabs.markup.FragmentTraceHandler
- has(String) - Method in class io.karatelabs.core.BootBinding
-
boot.has('name')— is this ext available to boot? - hasCallResults() - Method in class io.karatelabs.core.StepResult
- hasFailedEmbedded() - Method in class io.karatelabs.core.ScenarioRuntime
-
True if any embedded expression was evaluated and threw since the last clear.
- hashCode() - Method in record class io.karatelabs.core.ErrorRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.OutlineRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.ReportAssets.Page
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.StepUtils.CallParts
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns a hash code value for this object.
- hashCode() - Method in class io.karatelabs.gherkin.Tag
- hashCode() - Method in record class io.karatelabs.match.Result.Failure
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns a hash code value for this object.
- hasPunctuation(String) - Static method in class io.karatelabs.core.StepUtils
-
Check if string contains JS expression punctuation like . ( [ ] ' "
- hasRedirect() - Method in class io.karatelabs.http.ServerMarkupContext
- hasRefreshToken() - Method in class io.karatelabs.http.OAuth2Token
-
Check if refresh token is available
- hasSelectionTarget() - Method in class io.karatelabs.markup.MarkupTemplateContext
- HEAD - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- header(String, String) - Method in class io.karatelabs.driver.InterceptResponse
-
Add a header to this response.
- header(String, String) - Method in class io.karatelabs.http.Http
- header(String, String) - Method in class io.karatelabs.http.HttpRequestBuilder
- header(String, String) - Method in class io.karatelabs.http.WsClientOptions.Builder
- header(String, String...) - Method in class io.karatelabs.http.HttpRequestBuilder
- header(String, List<String>) - Method in class io.karatelabs.http.HttpRequestBuilder
- HEADER_NAME - Static variable in class io.karatelabs.http.CsrfProtection
-
Default HTTP header name for CSRF token
- headers(Map<String, Object>) - Method in class io.karatelabs.http.HttpRequestBuilder
- headers(Map<String, String>) - Method in class io.karatelabs.http.WsClientOptions.Builder
- headerValue() - Method in enum class io.karatelabs.http.SameSite
-
The exact attribute value to emit in the
Set-Cookieheader. - headless(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- HELP - Static variable in interface io.karatelabs.driver.Keys
- highlight() - Method in class io.karatelabs.driver.BaseElement
- highlight() - Method in interface io.karatelabs.driver.Element
- highlight(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- highlight(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Highlight an element.
- highlight(String) - Method in interface io.karatelabs.driver.Driver
-
Highlight an element (for debugging).
- highlight(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- highlight(String, int) - Method in interface io.karatelabs.driver.Driver
-
Highlight an element (for debugging) for a specific duration in millis.
- highlight(String, int) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to highlight an element.
- HIGHLIGHT - Static variable in class io.karatelabs.driver.DriverApi
- HIGHLIGHT_ALL - Static variable in class io.karatelabs.driver.DriverApi
- highlightAll(String) - Method in interface io.karatelabs.driver.Driver
-
Highlight all elements matching the locator (for debugging).
- highlightAll(String, int) - Method in interface io.karatelabs.driver.Driver
-
Highlight all elements matching the locator for a specific duration in millis.
- highlightAll(String, int) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to highlight all elements matching a locator.
- highlightDuration(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- HOME - Static variable in interface io.karatelabs.driver.Keys
- hook(String, StepResult.Status, long, long, Throwable) - Static method in class io.karatelabs.core.StepResult
-
Create a synthetic step result representing a beforeScenario / afterScenario hook.
- host(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- hotReload() - Method in class io.karatelabs.core.ScenarioRuntime
-
Re-reads the feature from disk and updates step text in place for any steps whose text changed.
- href() - Method in record class io.karatelabs.core.ReportAssets.Page
-
Returns the value of the
hrefrecord component. - hstsEnabled(boolean) - Method in class io.karatelabs.http.ServerConfig
- hstsIncludeSubDomains(boolean) - Method in class io.karatelabs.http.ServerConfig
- hstsMaxAge(long) - Method in class io.karatelabs.http.ServerConfig
- html() - Method in class io.karatelabs.driver.BaseElement
- html() - Method in interface io.karatelabs.driver.Element
- html(int, String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create an HTML response.
- html(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the outer HTML of an element.
- html(String) - Method in interface io.karatelabs.driver.Driver
-
Get the outer HTML of an element.
- html(String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create an HTML response with 200 OK status.
- html(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- html(String) - Static method in class io.karatelabs.http.HttpResponse
-
200 OK+text/html. - HTML - Static variable in class io.karatelabs.driver.DriverApi
- HtmlReportListener - Class in io.karatelabs.output
-
A
ResultListenerthat generates HTML reports. - HtmlReportListener(Path, String) - Constructor for class io.karatelabs.output.HtmlReportListener
-
Create a new HTML report listener.
- HtmlReportWriter - Class in io.karatelabs.output
-
Generates HTML reports with inlined JSON data and Alpine.js client-side rendering.
- HTMX_HEADER_NAME - Static variable in class io.karatelabs.http.CsrfProtection
-
HTMX-specific header name
- http - Variable in class io.karatelabs.core.KarateJs
- http(int) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
port(port)instead. SSL is disabled by default. - Http - Class in io.karatelabs.http
-
Fluent HTTP client API for making HTTP requests from Java code.
- HTTP_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- HTTP_EXIT - Enum constant in enum class io.karatelabs.core.RunEventType
- HTTP_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for HTTP request/response logs
- HTTP_ONLY - Static variable in class io.karatelabs.http.Cookies
- HttpClient - Interface in io.karatelabs.http
- httpClientFactory - Variable in class io.karatelabs.core.Suite
- httpClientFactory(HttpClientFactory) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- httpClientFactory(HttpClientFactory) - Method in class io.karatelabs.core.Runner.Builder
-
Set the HTTP client factory for custom/mock HTTP clients.
- HttpClientFactory - Interface in io.karatelabs.http
-
Factory for creating HttpClient instances.
- HttpLogger - Class in io.karatelabs.output
- HttpLogger() - Constructor for class io.karatelabs.output.HttpLogger
- HttpLogger(Logger) - Constructor for class io.karatelabs.output.HttpLogger
- HttpRequest - Class in io.karatelabs.http
- HttpRequest() - Constructor for class io.karatelabs.http.HttpRequest
- HttpRequestBuilder - Class in io.karatelabs.http
- HttpRequestBuilder(HttpClient) - Constructor for class io.karatelabs.http.HttpRequestBuilder
- HttpResponse - Class in io.karatelabs.http
- HttpResponse() - Constructor for class io.karatelabs.http.HttpResponse
- HttpRunEvent - Record Class in io.karatelabs.core
-
HTTP-level events (HTTP_ENTER, HTTP_EXIT).
- HttpRunEvent(RunEventType, HttpRequest, HttpResponse, ScenarioRuntime, long) - Constructor for record class io.karatelabs.core.HttpRunEvent
-
Creates an instance of a
HttpRunEventrecord class. - https(int) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
ssl(true).port(port)instead. - HttpServer - Class in io.karatelabs.http
- HttpServerHandler - Class in io.karatelabs.http
- HttpUtils - Class in io.karatelabs.http
- HttpUtils() - Constructor for class io.karatelabs.http.HttpUtils
- HttpUtils.Header - Enum Class in io.karatelabs.http
- HttpUtils.Method - Enum Class in io.karatelabs.http
- HxDialect - Class in io.karatelabs.markup
-
Thymeleaf dialect for HTMX support.
- HxDialect() - Constructor for class io.karatelabs.markup.HxDialect
-
Create a new HxDialect with default configuration (no context path).
- HxDialect(MarkupConfig) - Constructor for class io.karatelabs.markup.HxDialect
-
Create a new HxDialect with the given markup configuration.
- HxDialect(String) - Constructor for class io.karatelabs.markup.HxDialect
-
Create a new HxDialect with the given context path.
I
- IGNORE - Static variable in class io.karatelabs.gherkin.Tag
- increaseLevel() - Method in class io.karatelabs.markup.MarkupTemplateContext
- info(String) - Static method in class io.karatelabs.output.Console
- info(String) - Method in class io.karatelabs.output.LogContext.LogWriter
- INFO - Enum constant in enum class io.karatelabs.output.LogLevel
- init() - Method in class io.karatelabs.core.JsonLinesEventWriter
-
Initialize the writer.
- init() - Method in class io.karatelabs.http.ServerMarkupContext
-
Initialize a new session.
- init(ScenarioRuntime) - Method in interface io.karatelabs.core.Channel
- init(ServerConfig, ServerMarkupContext, ResourceResolver, Markup) - Static method in class io.karatelabs.http.ServerRequestCycle
- init(Engine, ResourceResolver) - Static method in class io.karatelabs.markup.Markup
- init(Engine, String) - Static method in class io.karatelabs.markup.Markup
- init(MarkupConfig, IDialect...) - Static method in class io.karatelabs.markup.Markup
- inMemory() - Static method in class io.karatelabs.http.Session
- InMemorySessionStore - Class in io.karatelabs.http
-
In-memory implementation of SessionStore.
- InMemorySessionStore() - Constructor for class io.karatelabs.http.InMemorySessionStore
- innerHtml() - Method in class io.karatelabs.driver.BaseElement
- innerHtml() - Method in interface io.karatelabs.driver.Element
- innerHtmlJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get inner HTML of an element.
- input(String) - Method in class io.karatelabs.driver.BaseElement
- input(String) - Method in interface io.karatelabs.driver.Element
- input(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Input text into an element using CDP keypresses.
- input(String, String) - Method in interface io.karatelabs.driver.Driver
-
Input text into an element (focus, clear, type).
- input(String, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- input(String, String[]) - Method in interface io.karatelabs.driver.Driver
-
Input a sequence of values (strings and/or special keys) into an element.
- input(String, String[], int) - Method in interface io.karatelabs.driver.Driver
-
Input an array of values with a delay between each.
- input(String, String, int) - Method in interface io.karatelabs.driver.Driver
-
Input characters one-by-one with a delay between each — useful for simulating slow human typing or bypassing race conditions in handlers that debounce keypresses.
- INPUT - Static variable in class io.karatelabs.driver.DriverApi
- inputJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to set the value of an input element with events.
- INSERT - Static variable in interface io.karatelabs.driver.Keys
- intercept(InterceptHandler) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Enable request interception for all requests.
- intercept(InterceptHandler) - Method in interface io.karatelabs.driver.Driver
-
Enable request interception for all requests.
- intercept(InterceptHandler) - Method in class io.karatelabs.driver.w3c.W3cDriver
- intercept(List<String>, InterceptHandler) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Enable request interception with a handler.
- intercept(List<String>, InterceptHandler) - Method in interface io.karatelabs.driver.CoreDriver
-
Enable request interception with a handler.
- intercept(List<String>, InterceptHandler) - Method in interface io.karatelabs.driver.Driver
-
Enable request interception with a handler.
- intercept(List<String>, InterceptHandler) - Method in class io.karatelabs.driver.w3c.W3cDriver
- INTERCEPT - Static variable in class io.karatelabs.driver.DriverApi
- InterceptHandler - Interface in io.karatelabs.driver
-
Functional interface for handling intercepted network requests.
- InterceptRequest - Class in io.karatelabs.driver
-
Represents an intercepted HTTP request.
- InterceptRequest(String, String, String, Map<String, Object>, String, String) - Constructor for class io.karatelabs.driver.InterceptRequest
- InterceptResponse - Class in io.karatelabs.driver
-
Represents a mock HTTP response for request interception.
- invoke() - Method in class io.karatelabs.http.HttpRequestBuilder
- invoke(HttpRequest) - Method in class io.karatelabs.http.ApacheHttpClient
- invoke(HttpRequest) - Method in interface io.karatelabs.http.HttpClient
- invoke(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- invoke(String, Object) - Method in class io.karatelabs.http.HttpRequestBuilder
- io.karatelabs - package io.karatelabs
- io.karatelabs.cli - package io.karatelabs.cli
- io.karatelabs.common - package io.karatelabs.common
- io.karatelabs.core - package io.karatelabs.core
- io.karatelabs.driver - package io.karatelabs.driver
- io.karatelabs.driver.cdp - package io.karatelabs.driver.cdp
- io.karatelabs.driver.w3c - package io.karatelabs.driver.w3c
- io.karatelabs.gherkin - package io.karatelabs.gherkin
- io.karatelabs.http - package io.karatelabs.http
- io.karatelabs.markup - package io.karatelabs.markup
- io.karatelabs.match - package io.karatelabs.match
- io.karatelabs.output - package io.karatelabs.output
- io.karatelabs.process - package io.karatelabs.process
- is(Match.Type, Object) - Method in class io.karatelabs.match.Value
- isAborted() - Method in class io.karatelabs.core.ScenarioResult
- isAborted() - Method in class io.karatelabs.core.ScenarioRuntime
- isAborted() - Method in class io.karatelabs.core.Suite
- isAbortedStepsShouldPass() - Method in class io.karatelabs.core.KarateConfig
- isAbortSuiteOnFailure() - Method in class io.karatelabs.core.KarateConfig
- isActionDispatched() - Method in class io.karatelabs.http.ServerMarkupContext
- isActionDispatched() - Method in interface io.karatelabs.markup.ActionDispatchHost
-
Whether this request's action handler has already been dispatched.
- isAjax() - Method in class io.karatelabs.http.HttpRequest
-
Returns true if this is an HTMX/AJAX request (has HX-Request header).
- isAjax() - Method in class io.karatelabs.http.ServerMarkupContext
-
Check if this is an AJAX/HTMX request.
- isAlive() - Method in class io.karatelabs.process.ProcessHandle
- isAllOf(Object...) - Method in class io.karatelabs.core.TagSelector.Values
- isAnyOf(Object...) - Method in class io.karatelabs.core.TagSelector.Values
- isApiPath(String) - Method in class io.karatelabs.http.ServerConfig
-
Check if the given path should be handled as an API route.
- isApiPrefixEnabled() - Method in class io.karatelabs.http.ServerConfig
- isArray() - Method in class io.karatelabs.common.Json
- isBackground() - Method in class io.karatelabs.gherkin.Step
- isBackgroundPresent() - Method in class io.karatelabs.gherkin.Feature
- isBinary() - Method in class io.karatelabs.http.WsFrame
- isBoolean() - Method in class io.karatelabs.match.Value
- isCalled() - Method in class io.karatelabs.core.FeatureRuntime
-
The inverse of
FeatureRuntime.isTopLevel()— true when this feature was reached via call/callonce from another feature. - isCallerScope() - Method in class io.karatelabs.core.ScenarioRuntime
-
Check if driver scope is "caller" (V1-style propagation).
- isCallerScope() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
-
Check if driver scope is "caller" (V1-style behavior).
- isCapture() - Method in class io.karatelabs.output.LogContext
-
Whether the report buffer collects anything on this thread — see
LogContext.isCapturing(io.karatelabs.output.LogLevel). - isCaptureStepLogs() - Method in class io.karatelabs.core.Suite
-
Whether each step's Karate output is collected into
StepResult.log— seeRunner.Builder.captureStepLogs(boolean). - isCapturing(LogLevel) - Method in class io.karatelabs.output.LogContext
-
Would a message at this level actually land in the report buffer?
- isClean() - Method in class io.karatelabs.core.KaratePom
- isClientAuth() - Method in class io.karatelabs.core.SslConfig
- isClose() - Method in class io.karatelabs.http.WsFrame
- isClosed() - Method in class io.karatelabs.driver.cdp.CdpLauncher
-
Check if this launcher has been closed.
- isClosed() - Method in class io.karatelabs.http.ServerMarkupContext
- isColorsEnabled() - Static method in class io.karatelabs.output.Console
- isCompression() - Method in class io.karatelabs.http.WsClientOptions
- isConnectionClosed() - Method in exception class io.karatelabs.http.WsException
- isContinueOnStepFailure() - Method in class io.karatelabs.core.KarateConfig
- isCorsEnabled() - Method in class io.karatelabs.core.KarateConfig
- isCorsEnabled() - Method in class io.karatelabs.core.MockConfig
- isCsrfEnabled() - Method in class io.karatelabs.http.ServerConfig
- isCsrfExemptPath(String) - Method in class io.karatelabs.http.ServerConfig
- isCucumberJson() - Method in class io.karatelabs.core.KaratePom.OutputPom
- isDebugEnabled() - Method in class io.karatelabs.output.LogContext.LogWriter
- isDevMode() - Method in class io.karatelabs.http.ServerConfig
- isDevMode() - Method in class io.karatelabs.markup.MarkupConfig
- isDevTrace() - Method in class io.karatelabs.http.ServerConfig
- isDevTrace() - Method in class io.karatelabs.markup.MarkupConfig
- isDryRun() - Method in class io.karatelabs.cli.RunCommand
- isDryRun() - Method in class io.karatelabs.core.KaratePom
- isDryRun() - Method in class io.karatelabs.core.SuiteResult
-
True when this suite ran parse-only — nothing was executed, so no result here is evidence.
- isDynamic() - Method in class io.karatelabs.gherkin.Scenario
- isDynamic() - Method in class io.karatelabs.gherkin.Table
- isEach() - Method in class io.karatelabs.gherkin.MatchExpression
- isEach(JavaCallable) - Method in class io.karatelabs.core.TagSelector.Values
- isElementEnabled(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- isEmpty() - Method in class io.karatelabs.core.FeatureResult
- isEnabled(LogLevel) - Method in enum class io.karatelabs.output.LogLevel
- isEqualTo(Scenario) - Method in class io.karatelabs.gherkin.Scenario
- isError() - Method in class io.karatelabs.driver.cdp.CdpResponse
- isExpired() - Method in class io.karatelabs.http.OAuth2Token
-
Check if token is expired (with 60 second buffer)
- isFail() - Method in class io.karatelabs.gherkin.Scenario
- isFailed() - Method in class io.karatelabs.core.FeatureResult
- isFailed() - Method in class io.karatelabs.core.PerfEvent
- isFailed() - Method in class io.karatelabs.core.ScenarioResult
- isFailed() - Method in class io.karatelabs.core.StepResult
- isFailed() - Method in class io.karatelabs.core.SuiteResult
- isFailTagApplied() - Method in class io.karatelabs.core.ScenarioResult
- isFake() - Method in class io.karatelabs.gherkin.Step
- isFollowRedirects() - Method in class io.karatelabs.core.KarateConfig
- isFormatEnabled(List<String>, String, boolean) - Static method in class io.karatelabs.cli.RunCommand
-
Check if a format is enabled based on the -f/--format flag.
- isHandled() - Method in class io.karatelabs.driver.cdp.CdpDialog
- isHandled() - Method in interface io.karatelabs.driver.Dialog
-
Check if this dialog has been handled.
- isHeaderMasked(String) - Method in class io.karatelabs.output.LogMask
- isHeadless() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
-
Check headless mode.
- isHeadless() - Method in interface io.karatelabs.driver.DriverOptions
-
Check if running in headless mode.
- isHeadless() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- isHighlight() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- isHighlight() - Method in interface io.karatelabs.driver.DriverOptions
-
Check if element highlighting is enabled.
- isHighlight() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- isHook() - Method in class io.karatelabs.core.StepResult
- isHstsEnabled() - Method in class io.karatelabs.http.ServerConfig
- isHstsIncludeSubDomains() - Method in class io.karatelabs.http.ServerConfig
- isHtml() - Method in class io.karatelabs.core.KaratePom.OutputPom
- isHtmlReportEnabled() - Method in class io.karatelabs.core.SuiteResult
- isHtmlResponse(String) - Static method in class io.karatelabs.http.SecurityHeaders
-
Check if the given content type is HTML (requires security headers).
- isHttpRetryEnabled() - Method in class io.karatelabs.core.KarateConfig
- isIgnore() - Method in class io.karatelabs.gherkin.Scenario
-
Returns true if this scenario (or its feature) has the @ignore tag.
- isJson() - Method in class io.karatelabs.common.Json
- isJsonLines() - Method in class io.karatelabs.core.KaratePom.OutputPom
- isJunitXml() - Method in class io.karatelabs.core.KaratePom.OutputPom
- isLargeCollection() - Method in class io.karatelabs.match.Value
-
Returns true if this value contains a large collection stored on disk.
- isList() - Method in class io.karatelabs.match.Value
- isLiteralFeatureRead(String) - Static method in class io.karatelabs.core.StepUtils
-
Check if text is a literal feature file read like read('file.feature').
- isLoggingPretty() - Method in class io.karatelabs.core.KarateConfig
- isMap() - Method in class io.karatelabs.match.Value
- isMapOrList(Object) - Static method in class io.karatelabs.common.Json
- isMatchEachEmptyAllowed() - Method in class io.karatelabs.core.KarateConfig
- isMockHeaderEnabled() - Method in class io.karatelabs.core.MockConfig
- isMultipart() - Method in class io.karatelabs.http.MultiPartBuilder
- isMultiPart() - Method in class io.karatelabs.http.HttpRequest
-
Returns true if this request has multipart form data.
- isNegated() - Method in class io.karatelabs.match.Expect
- isNull() - Method in class io.karatelabs.match.Value
- isNumber() - Method in class io.karatelabs.match.Value
- isObject() - Method in class io.karatelabs.common.Json
- isOnly(Object...) - Method in class io.karatelabs.core.TagSelector.Values
- isOpen() - Method in class io.karatelabs.driver.cdp.CdpClient
- isOpen() - Method in class io.karatelabs.http.SseConnection
- isOpen() - Method in class io.karatelabs.http.WsClient
- isOpen() - Method in class io.karatelabs.http.WsConnection
- isOutline() - Method in class io.karatelabs.gherkin.FeatureSection
- isOutline() - Method in class io.karatelabs.gherkin.Step
- isOutlineExample() - Method in class io.karatelabs.gherkin.Scenario
- isPassed() - Method in class io.karatelabs.core.FeatureResult
- isPassed() - Method in class io.karatelabs.core.ScenarioResult
- isPassed() - Method in class io.karatelabs.core.StepResult
- isPassed() - Method in class io.karatelabs.core.SuiteResult
- isPerfMode() - Method in class io.karatelabs.core.ScenarioRuntime
-
Check if performance mode is enabled.
- isPerfMode() - Method in class io.karatelabs.core.Suite
- isPing() - Method in class io.karatelabs.http.WsFrame
- isPlainIdentifier(String) - Static method in class io.karatelabs.core.StepUtils
-
True if
sis a bare identifier — letter/_/$ followed by letters/digits/_/$. - isPong() - Method in class io.karatelabs.http.WsFrame
- isPrefixStar() - Method in class io.karatelabs.gherkin.Step
- isPresent() - Method in class io.karatelabs.core.TagSelector.Values
- isPresent() - Method in class io.karatelabs.driver.BaseElement
- isPresent() - Method in interface io.karatelabs.driver.Element
- isPretty() - Method in class io.karatelabs.output.LogContext
- isPrint() - Method in class io.karatelabs.gherkin.Step
- isPureJsonPath(String) - Static method in class io.karatelabs.core.StepUtils
-
True if
lhsis a "pure" JSON path expression: an identifier followed by zero or more path segments where every segment is one of.ident,[int],[int:int],['str'],["str"],[*],..,[?(...)]. - isRawPath(String) - Method in class io.karatelabs.http.ServerConfig
-
Check if the given request path opts out of shell-wrap.
- isReady() - Method in class io.karatelabs.driver.cdp.CdpDriver
- isReady() - Method in interface io.karatelabs.driver.Driver
-
Whether the driver is ready to accept script/element calls right now — i.e. the page's execution context is live (not mid-navigation / mid-tab-switch).
- isRemote() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
-
Check if this is a remote connection (webDriverUrl set or start=false).
- isReportDisabled() - Method in class io.karatelabs.core.ScenarioResult
- isReportDisabled() - Method in class io.karatelabs.core.ScenarioRuntime
- isRequestDerived(Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
True if the value was marked by
ScenarioRuntime.markRequestDerived(java.lang.Object). - isRequestExpressionsEnabled() - Method in class io.karatelabs.core.ScenarioRuntime
-
Whether a mock should evaluate embedded expressions found in request-derived data.
- isResponsive() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Bounded liveness probe forreset.
invalid reference
PooledDriverProvider - isResponsive() - Method in interface io.karatelabs.driver.Driver
-
Quick health check — returns false if the driver's underlying protocol channel (CDP websocket, WebDriver session, etc.) is stuck or unresponsive.
- isRetry() - Method in class io.karatelabs.http.HttpRequestBuilder
- isRunning() - Method in class io.karatelabs.driver.cdp.CdpLauncher
- isSafe(String) - Static method in class io.karatelabs.http.PathSecurity
-
Check if a path is safe (does not contain traversal sequences).
- isSameFile() - Method in class io.karatelabs.core.FeatureCall
-
Returns true if this is a same-file tag call (feature is null).
- isScreenshotOnFailure() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- isScreenshotOnFailure() - Method in interface io.karatelabs.driver.DriverOptions
-
Check if screenshots should be taken on failure.
- isScreenshotOnFailure() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- isSecurityHeadersEnabled() - Method in class io.karatelabs.http.ServerConfig
- isServerMode() - Method in class io.karatelabs.markup.MarkupConfig
- isSessionEnabled() - Method in class io.karatelabs.http.ServerConfig
-
Check if sessions are enabled.
- isSetup() - Method in class io.karatelabs.gherkin.Scenario
- isSetup() - Method in class io.karatelabs.gherkin.Step
- isSharedScope() - Method in class io.karatelabs.core.FeatureRuntime
- isShowAllSteps() - Method in class io.karatelabs.core.KarateConfig
- isShowLog() - Method in class io.karatelabs.core.KarateConfig
- isSkipBackground() - Method in class io.karatelabs.core.ScenarioRuntime
- isSkipped() - Method in class io.karatelabs.core.ScenarioResult
-
True when this scenario was aborted via
karate.abort()or had no step pass and no step fail (suite-aborted pre-run or empty scenario). - isSkipped() - Method in class io.karatelabs.core.StepResult
- isSkipped() - Method in class io.karatelabs.http.HttpResponse
-
Returns true if this response represents a skipped request.
- isSkipTagFiltering() - Method in class io.karatelabs.core.Suite
- isSsl() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isSsl() - Method in class io.karatelabs.core.MockServer
-
Check if the server is using SSL/TLS.
- isSsl() - Method in class io.karatelabs.http.HttpServer
- isSsl() - Method in class io.karatelabs.http.WsClientOptions
- isSslEnabled() - Method in class io.karatelabs.core.KarateConfig
- isSslTrustAll() - Method in class io.karatelabs.core.KarateConfig
- isStart() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- isStaticPath(String) - Method in class io.karatelabs.http.ServerConfig
-
Check if the given path should be served as a static file.
- isStaticPrefixEnabled() - Method in class io.karatelabs.http.ServerConfig
- isStop() - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- isStop() - Method in interface io.karatelabs.driver.DriverOptions
-
Whether the browser should be quit at scenario end.
- isStop() - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- isStopped() - Method in class io.karatelabs.core.ScenarioRuntime
- isString() - Method in class io.karatelabs.match.Value
- isSwitched() - Method in class io.karatelabs.http.ServerMarkupContext
- isTemporary() - Method in class io.karatelabs.http.Session
- isTerminated() - Method in class io.karatelabs.driver.cdp.CdpDriver
- isTerminated() - Method in interface io.karatelabs.driver.CoreDriver
-
Check if driver is terminated.
- isTerminated() - Method in interface io.karatelabs.driver.Driver
-
Check if driver is terminated.
- isTerminated() - Method in class io.karatelabs.driver.w3c.W3cDriver
- isText() - Method in class io.karatelabs.http.WsFrame
- isThrowOnFailure() - Method in class io.karatelabs.match.Expect
- isTimeout() - Method in exception class io.karatelabs.http.WsException
- isTopLevel() - Method in class io.karatelabs.core.FeatureRuntime
-
A top-level feature is one executed directly (as a root feature), not via call/callonce.
- isTraceEnabled() - Method in class io.karatelabs.output.LogContext.LogWriter
- isTrustAll() - Method in class io.karatelabs.core.SslConfig
- isTrustAllCerts() - Method in class io.karatelabs.http.WsClientOptions
- isValidKey(String) - Static method in class io.karatelabs.common.Json
- isValidVariableName(String) - Static method in class io.karatelabs.core.StepUtils
-
Check if a string is a valid Karate variable name.
- isVariableLocal(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- isW3cType(String) - Static method in enum class io.karatelabs.driver.w3c.W3cBrowserType
-
Check if a type string corresponds to a W3C WebDriver type.
- isXml() - Method in class io.karatelabs.match.Value
- isXpath(String) - Static method in class io.karatelabs.driver.Locators
-
Check if a locator is an XPath expression.
- iterator() - Method in class io.karatelabs.match.DiskBackedList
- iterator() - Method in interface io.karatelabs.match.LargeValueStore
-
Returns an iterator over the elements in this store.
J
- javaBridgeEnabled(boolean) - Method in class io.karatelabs.core.MockServer.Builder
-
Enable Java interop (
Java.type(...)) for mock features. - js(String) - Method in class io.karatelabs.core.ReportAssets
-
The JS entry registered in
alpine:init(D5). - jsGet(String) - Method in class io.karatelabs.core.Faker
- jsGet(String) - Method in class io.karatelabs.core.KarateConfig
- jsGet(String) - Method in class io.karatelabs.core.KarateJs
- jsGet(String) - Method in class io.karatelabs.core.MockServer
- jsGet(String) - Method in class io.karatelabs.core.TagSelector.Values
- jsGet(String) - Method in class io.karatelabs.driver.BaseElement
- jsGet(String) - Method in interface io.karatelabs.driver.Driver
-
Get a property value or method by name for JavaScript access.
- jsGet(String) - Method in class io.karatelabs.http.CsrfProtection.CsrfToken
- jsGet(String) - Method in class io.karatelabs.http.HttpRequest
- jsGet(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- jsGet(String) - Method in class io.karatelabs.http.ServerMarkupContext
- jsGet(String) - Method in interface io.karatelabs.markup.MarkupContext
-
Default implementation of jsGet that exposes context methods to JavaScript.
- jsGet(String) - Method in class io.karatelabs.match.Expect
- jsGet(String) - Method in class io.karatelabs.match.Value
- jsGet(String) - Method in class io.karatelabs.process.ProcessHandle
- jsHref() - Method in class io.karatelabs.core.ReportAssets
-
Web-relative path of the JS entry,
static/stripped. - jsKeys() - Method in class io.karatelabs.core.KarateConfig
- jsKeys() - Method in class io.karatelabs.process.ProcessHandle
- json(int, Object) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a JSON response.
- json(int, Object) - Static method in class io.karatelabs.http.HttpResponse
-
Status +
application/json. - json(Object) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a JSON response with 200 OK status.
- json(Object) - Static method in class io.karatelabs.http.HttpResponse
-
200 OK+application/json. - Json - Class in io.karatelabs.common
- JsonLinesEventWriter - Class in io.karatelabs.core
-
A
RunListenerthat streams events to a JSON Lines (.jsonl) file. - JsonLinesEventWriter(Path, String, int) - Constructor for class io.karatelabs.core.JsonLinesEventWriter
-
Create a new JSON Lines event writer.
- JunitXmlReportListener - Class in io.karatelabs.output
-
A
ResultListenerthat generates JUnit XML reports. - JunitXmlReportListener(Path) - Constructor for class io.karatelabs.output.JunitXmlReportListener
-
Create a new JUnit XML report listener.
- JunitXmlWriter - Class in io.karatelabs.output
-
Generates JUnit XML reports compatible with CI systems (Jenkins, GitHub Actions, etc.).
K
- KARATE_JSON_SUBFOLDER - Static variable in class io.karatelabs.core.Suite
-
Subfolder for JSON output (JSONL events, etc.)
- KARATE_JSON_SUFFIX - Static variable in class io.karatelabs.gherkin.Feature
- KARATE_MOCK_HEADER - Static variable in class io.karatelabs.core.MockHandler
-
The disclosure header every karate-fabricated mock response carries:
Karate-Mock: true. - KARATE_VERSION - Static variable in class io.karatelabs.core.Globals
-
Karate version loaded from karate-meta.properties.
- KarateConfig - Class in io.karatelabs.core
-
Holds runtime configuration settings set via the 'configure' keyword.
- KarateConfig() - Constructor for class io.karatelabs.core.KarateConfig
- karateEnv(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- karateEnv(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the karate environment (karate.env).
- KarateException - Exception Class in io.karatelabs.core
-
The exception surfaced to callers (JUnit / surefire, the fluent
RunnerAPI, any code that catches a Karate failure) when a step fails. - KarateJs - Class in io.karatelabs.core
-
Main implementation of the karate.* JavaScript API.
- KarateJs(Resource) - Constructor for class io.karatelabs.core.KarateJs
- KarateJs(Resource, HttpClient) - Constructor for class io.karatelabs.core.KarateJs
- KarateJs(Resource, HttpClientFactory) - Constructor for class io.karatelabs.core.KarateJs
- KarateJsContext - Interface in io.karatelabs.core
-
Minimal context interface for KarateJs to access runtime information.
- KarateJsUtils - Class in io.karatelabs.core
-
Stateless utility methods for the karate.* JavaScript API.
- KarateOptionsHandler - Class in io.karatelabs.core
-
Applies system-property and environment-variable overrides to a
Runner.Builderat the start ofparallel(). - KaratePom - Class in io.karatelabs.core
-
Represents Karate project configuration loaded from karate-pom.json.
- KaratePom() - Constructor for class io.karatelabs.core.KaratePom
- KaratePom.LoggingPom - Class in io.karatelabs.core
-
Logging configuration nested object.
- KaratePom.OutputPom - Class in io.karatelabs.core
-
Output configuration nested object.
- key - Variable in enum class io.karatelabs.http.HttpUtils.Header
- key - Variable in enum class io.karatelabs.http.HttpUtils.Method
- keyFile(File) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.Builder.keyPath(String)instead. - keyPath(String) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- keyPath(String) - Method in class io.karatelabs.core.MockServer.Builder
-
Set the SSL private key file path (PEM format).
- keys() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a Keys object for keyboard input.
- keys() - Method in interface io.karatelabs.driver.CoreDriver
-
Get a Keys object for keyboard input.
- keys() - Method in interface io.karatelabs.driver.Driver
-
Get a Keys object for keyboard input.
- keys() - Method in class io.karatelabs.driver.w3c.W3cDriver
- keys() - Static method in enum class io.karatelabs.http.HttpUtils.Header
- Keys - Interface in io.karatelabs.driver
-
Keyboard actions interface for browser automation.
- KEYS - Static variable in class io.karatelabs.driver.DriverApi
- KEYWORD - Static variable in class io.karatelabs.gherkin.Background
- KEYWORD - Static variable in class io.karatelabs.gherkin.Feature
L
- label(String) - Static method in class io.karatelabs.output.Console
- LargeValueStore - Interface in io.karatelabs.match
-
Interface for handling large collections that may need to be stored on disk to avoid memory exhaustion.
- LAX - Enum constant in enum class io.karatelabs.http.SameSite
- LEFT - Static variable in interface io.karatelabs.driver.Keys
- LEFT_OF - Enum constant in enum class io.karatelabs.driver.Finder.Position
- LEFT_OF - Static variable in class io.karatelabs.driver.DriverApi
- leftOf(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Create a finder for elements to the left of the reference element.
- leftOf(String) - Method in interface io.karatelabs.driver.Driver
-
Create a finder for elements to the left of the reference element.
- level() - Method in class io.karatelabs.markup.MarkupTemplateContext
- lifecycleKind() - Method in class io.karatelabs.http.HttpServer
- lifecycleKind() - Method in class io.karatelabs.http.WsClient
- lifecycleName() - Method in class io.karatelabs.http.HttpServer
- lifecycleName() - Method in class io.karatelabs.http.WsClient
- line() - Static method in class io.karatelabs.output.Console
- line(int) - Static method in class io.karatelabs.output.Console
- line(String) - Method in class io.karatelabs.process.ProcessBuilder
- lineFilters - Variable in class io.karatelabs.core.Suite
- lineFilters() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns the value of the
lineFiltersrecord component. - LIST - Enum constant in enum class io.karatelabs.match.Value.Type
- listener() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
listenerrecord component. - listener(RunListener) - Method in class io.karatelabs.core.Runner.Builder
-
Add a run event listener.
- listener(Consumer<String>) - Method in class io.karatelabs.process.ProcessBuilder
- listenerFactories - Variable in class io.karatelabs.core.Suite
- listenerFactory(RunListenerFactory) - Method in class io.karatelabs.core.Runner.Builder
-
Add a run listener factory for per-thread listeners.
- listenerFactory(String) - Method in class io.karatelabs.core.Runner.Builder
-
Add a run listener factory by class name (supports no-arg constructor).
- listeners - Variable in class io.karatelabs.core.Suite
- listeners(Collection<RunListener>) - Method in class io.karatelabs.core.Runner.Builder
-
Add multiple run event listeners.
- listIterator() - Method in class io.karatelabs.match.Value
-
Returns an iterator over list elements, working for both regular and large collections.
- load(String) - Static method in class io.karatelabs.core.KaratePom
-
Load configuration from a JSON file.
- load(Path) - Static method in class io.karatelabs.core.KaratePom
-
Load configuration from a JSON file.
- LOAD - Enum constant in enum class io.karatelabs.driver.PageLoadStrategy
-
Wait for Page.loadEventFired event.
- loadFlashFromSession() - Method in class io.karatelabs.http.ServerMarkupContext
-
Load flash messages from session (if any) and clear them from session.
- LocalCallbackServer - Class in io.karatelabs.http
-
Local HTTP server to capture OAuth redirect with authorization code.
- LocalCallbackServer() - Constructor for class io.karatelabs.http.LocalCallbackServer
- locate(String) - Method in class io.karatelabs.driver.BaseElement
- locate(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Find an element by locator.
- locate(String) - Method in interface io.karatelabs.driver.Driver
-
Find an element by locator.
- locate(String) - Method in interface io.karatelabs.driver.Element
- LOCATE - Static variable in class io.karatelabs.driver.DriverApi
- LOCATE_ALL - Static variable in class io.karatelabs.driver.DriverApi
- locateAll(String) - Method in class io.karatelabs.driver.BaseElement
- locateAll(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Find all elements matching a locator.
- locateAll(String) - Method in interface io.karatelabs.driver.Driver
-
Find all elements matching a locator.
- locateAll(String) - Method in interface io.karatelabs.driver.Element
- locateAll(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- locateAll(String, Predicate<Element>) - Method in interface io.karatelabs.driver.Driver
-
Find all elements matching a locator and filter via the supplied predicate.
- LOCATION - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- locator - Variable in class io.karatelabs.driver.BaseElement
- Locators - Class in io.karatelabs.driver
-
Utility class for transforming locators into JavaScript expressions.
- Locators() - Constructor for class io.karatelabs.driver.Locators
- LOCK - Static variable in class io.karatelabs.gherkin.Tag
- log(LogLevel, String) - Method in class io.karatelabs.output.LogContext
-
Log a message at the specified level.
- log(LogLevel, String, Object...) - Method in class io.karatelabs.output.LogContext
-
Log a message at the specified level with format arguments.
- log(Object) - Method in class io.karatelabs.core.BootBinding
-
boot.log('...')— INFO log with [boot] prefix. - log(Object) - Method in class io.karatelabs.output.LogContext
-
Log a message at INFO level.
- log(Object...) - Method in class io.karatelabs.http.ServerMarkupContext
-
Log a message.
- log(String, Object...) - Method in class io.karatelabs.output.LogContext
-
Log a message at INFO level with format arguments.
- logBody(StringBuilder, byte[], ResourceType) - Method in class io.karatelabs.output.HttpLogger
- logBody(StringBuilder, byte[], ResourceType, LogMask) - Method in class io.karatelabs.output.HttpLogger
- LogContext - Class in io.karatelabs.output
-
Thread-local log collector for scenario execution.
- LogContext() - Constructor for class io.karatelabs.output.LogContext
- LogContext.LogWriter - Class in io.karatelabs.output
-
Fluent log writer that captures to LogContext buffer AND cascades to SLF4J.
- LogContext.Snapshot - Class in io.karatelabs.output
-
Snapshot of the report-buffer threshold, the log mask/pretty settings and — only if something changes them while it is live — the per-category Logback levels.
- LoggingPom() - Constructor for class io.karatelabs.core.KaratePom.LoggingPom
- logHandler(Consumer<String>) - Method in class io.karatelabs.http.ServerConfig
- logHeaders(StringBuilder, int, String, Map<String, List<String>>) - Static method in class io.karatelabs.output.HttpLogger
- logHeaders(StringBuilder, int, String, Map<String, List<String>>, LogMask) - Static method in class io.karatelabs.output.HttpLogger
- logLastPerfEvent(String) - Method in class io.karatelabs.core.ScenarioRuntime
-
Log (report) the last captured performance event.
- logLevel(LogLevel) - Method in class io.karatelabs.core.Runner.Builder
-
Set the minimum log level for report capture.
- logLevel(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the minimum log level by name (case-insensitive).
- LogLevel - Enum Class in io.karatelabs.output
- LogMask - Class in io.karatelabs.output
-
Declarative HTTP log masking.
- logRequest(HttpRequest) - Method in class io.karatelabs.output.HttpLogger
- logResponse(HttpResponse) - Method in class io.karatelabs.output.HttpLogger
- logToContext() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
logToContextrecord component. - logToContext(boolean) - Method in class io.karatelabs.process.ProcessBuilder
- lookup(String) - Method in interface io.karatelabs.markup.MarkupScope
-
Look up
namein the current eval scope. - lookup(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
-
MarkupScopeimplementation.
M
- MAGENTA - Static variable in class io.karatelabs.output.Console
- main(String[]) - Static method in class com.intuit.karate.Main
- main(String[]) - Static method in class io.karatelabs.Main
- Main - Class in com.intuit.karate
- Main - Class in io.karatelabs
-
Main entry point for the Karate CLI.
- Main() - Constructor for class com.intuit.karate.Main
- Main() - Constructor for class io.karatelabs.Main
- manifests() - Method in class io.karatelabs.core.BootBinding
-
Collected manifest array shape for SUITE_ENTER.data.exts[].
- MAP - Enum constant in enum class io.karatelabs.match.Value.Type
- markActionDispatched() - Method in class io.karatelabs.http.ServerMarkupContext
- markActionDispatched() - Method in interface io.karatelabs.markup.ActionDispatchHost
-
Mark this request's action handler as dispatched.
- markRequestDerived(Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Deep-mark a value (and every nested Map/List) as having originated from an untrusted HTTP request, so
processEmbeddedExpressionswill leave its#(...)strings inert. - markup() - Method in class io.karatelabs.core.KarateJs
-
Lazy-initialize and return the Markup template engine.
- Markup - Class in io.karatelabs.markup
- MarkupConfig - Class in io.karatelabs.markup
- MarkupConfig() - Constructor for class io.karatelabs.markup.MarkupConfig
- MarkupContext - Interface in io.karatelabs.markup
-
Context interface exposed to templates and server-side JavaScript.
- MarkupScope - Interface in io.karatelabs.markup
-
Current-eval scope accessor injected onto a
MarkupContextbyMarkupTemplateContextat engine-bind time. - MarkupTemplateContext - Class in io.karatelabs.markup
- maskBody(String) - Method in class io.karatelabs.output.LogMask
- maskHeader(String, String) - Method in class io.karatelabs.output.LogMask
- Match - Class in io.karatelabs.match
- Match() - Constructor for class io.karatelabs.match.Match
- Match.Type - Enum Class in io.karatelabs.match
- MatchContext - Class in io.karatelabs.match
- matches(String) - Method in class io.karatelabs.driver.BaseElement
- matches(String) - Method in interface io.karatelabs.driver.Element
-
Whether this element matches the given CSS selector.
- matchesJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate a JS expression that evaluates to
truewhen the element resolved by the given locator matches the CSS selector, orfalseotherwise (including when the element does not exist). - MatchExpression - Class in io.karatelabs.gherkin
-
Represents a parsed match expression.
- MatchExpression(boolean, String, String, String) - Constructor for class io.karatelabs.gherkin.MatchExpression
- MAX_AGE - Static variable in class io.karatelabs.http.Cookies
- maximize() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Maximize the browser window.
- maximize() - Method in interface io.karatelabs.driver.Driver
-
Maximize the browser window.
- maximize() - Method in class io.karatelabs.driver.w3c.W3cDriver
- MAXIMIZE - Static variable in class io.karatelabs.driver.DriverApi
- maximizeWindow() - Method in class io.karatelabs.driver.w3c.W3cSession
- maxPayloadSize(int) - Method in class io.karatelabs.http.WsClientOptions.Builder
- MEGABYTE - Static variable in class io.karatelabs.http.HttpUtils
- MEMORY_THRESHOLD - Static variable in class io.karatelabs.match.Value
-
Memory threshold in bytes above which collections are stored on disk.
- merge(Object) - Method in class io.karatelabs.common.Json
- merge(Object...) - Static method in class io.karatelabs.common.Json
- mergedTagTexts(List<Tag>, List<Tag>) - Static method in class io.karatelabs.core.RunUtils
-
Concatenate text from two Tag lists (feature-level + outline-level for outlines that don't expose
getTagsEffective). - message - Variable in class io.karatelabs.match.Result
- meta(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- meta(String) - Method in interface io.karatelabs.driver.Keys
-
Press Meta/Command+key combination.
- meta(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- META - Static variable in interface io.karatelabs.driver.Keys
- method(String) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Create a new CDP message builder.
- method(String) - Method in class io.karatelabs.http.Http
- method(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- method(String, Object) - Method in class io.karatelabs.http.Http
- methodJson(String, String) - Method in class io.karatelabs.http.Http
- minimize() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Minimize the browser window.
- minimize() - Method in interface io.karatelabs.driver.Driver
-
Minimize the browser window.
- minimize() - Method in class io.karatelabs.driver.w3c.W3cDriver
- MINIMIZE - Static variable in class io.karatelabs.driver.DriverApi
- minimizeWindow() - Method in class io.karatelabs.driver.w3c.W3cSession
- MOCK_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for mock server logs
- MockCommand - Class in io.karatelabs.cli
-
The 'mock' subcommand for starting mock servers.
- MockCommand() - Constructor for class io.karatelabs.cli.MockCommand
- MockConfig - Class in io.karatelabs.core
-
Configuration holder for mock servers.
- MockConfig() - Constructor for class io.karatelabs.core.MockConfig
- MockHandler - Class in io.karatelabs.core
-
Mock server request handler that routes requests to matching scenarios.
- MockHandler(Feature) - Constructor for class io.karatelabs.core.MockHandler
- MockHandler(Feature, Map<String, Object>) - Constructor for class io.karatelabs.core.MockHandler
- MockHandler(String) - Constructor for class io.karatelabs.core.MockHandler
- MockHandler(List<Feature>, Map<String, Object>, String) - Constructor for class io.karatelabs.core.MockHandler
- MockHandler(List<Feature>, Map<String, Object>, String, boolean, boolean) - Constructor for class io.karatelabs.core.MockHandler
- MockServer - Class in com.intuit.karate.core
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServerinstead. This class will be removed in a future release. - MockServer - Class in io.karatelabs.core
-
Public API for creating mock servers from feature files.
- MockServer.Builder - Class in com.intuit.karate.core
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.Builderinstead. - MockServer.Builder - Class in io.karatelabs.core
-
Builder for creating MockServer instances.
- mouse() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a Mouse object at position (0, 0).
- mouse() - Method in interface io.karatelabs.driver.CoreDriver
-
Get a Mouse object for mouse input.
- mouse() - Method in interface io.karatelabs.driver.Driver
-
Get a Mouse object at position (0, 0).
- mouse() - Method in class io.karatelabs.driver.w3c.W3cDriver
- mouse(Number, Number) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a Mouse object at specified coordinates.
- mouse(Number, Number) - Method in interface io.karatelabs.driver.Driver
-
Get a Mouse object at specified coordinates.
- mouse(Number, Number) - Method in class io.karatelabs.driver.w3c.W3cDriver
- mouse(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a Mouse object positioned at an element's center.
- mouse(String) - Method in interface io.karatelabs.driver.Driver
-
Get a Mouse object positioned at an element's center.
- mouse(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- Mouse - Interface in io.karatelabs.driver
-
Mouse actions interface for browser automation.
- MOUSE - Static variable in class io.karatelabs.driver.DriverApi
- move(double, double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- move(double, double) - Method in interface io.karatelabs.driver.Mouse
-
Move mouse to specified coordinates.
- move(double, double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- MSEDGEDRIVER - Enum constant in enum class io.karatelabs.driver.w3c.W3cBrowserType
- multiPart(Map<String, Object>) - Method in class io.karatelabs.http.HttpRequestBuilder
- MultiPartBuilder - Class in io.karatelabs.http
- MultiPartBuilder(boolean, String) - Constructor for class io.karatelabs.http.MultiPartBuilder
- multiPartJson(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- MULTIPLY - Static variable in interface io.karatelabs.driver.Keys
N
- name() - Method in class io.karatelabs.core.ReportAssets
- NAME - Static variable in class io.karatelabs.http.Cookies
- named(String) - Static method in class io.karatelabs.core.ReportAssets
-
Start a spec for the ext registered under
name. - navigate(String) - Method in interface io.karatelabs.driver.CoreDriver
-
Navigate to URL and wait for page load.
- navigate(String) - Method in interface io.karatelabs.driver.Driver
-
Navigate to URL.
- navigate(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- navigateTo(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- near(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Create a finder for elements near the reference element.
- near(String) - Method in interface io.karatelabs.driver.Driver
-
Create a finder for elements near the reference element.
- NEAR - Enum constant in enum class io.karatelabs.driver.Finder.Position
- NEAR - Static variable in class io.karatelabs.driver.DriverApi
- NETWORKIDLE - Enum constant in enum class io.karatelabs.driver.PageLoadStrategy
-
Wait for no network activity for 500ms.
- nextId() - Method in class io.karatelabs.driver.cdp.CdpClient
- nextToken() - Method in class io.karatelabs.gherkin.GherkinLexer
- noContent() - Static method in class io.karatelabs.http.HttpResponse
-
204 No Content. - NONE - Enum constant in enum class io.karatelabs.http.SameSite
- normaliseUriPath(String) - Static method in class io.karatelabs.http.HttpUtils
- normalize(Object) - Static method in class io.karatelabs.http.Cookies
- not(Object...) - Method in class io.karatelabs.core.TagSelector
- NOT_CONTAINS - Enum constant in enum class io.karatelabs.match.Match.Type
- NOT_EQUALS - Enum constant in enum class io.karatelabs.match.Match.Type
- NOT_WITHIN - Enum constant in enum class io.karatelabs.match.Match.Type
- notContains(Object) - Method in class io.karatelabs.match.Value
- notEquals(Object) - Method in class io.karatelabs.match.Value
- notFound() - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a 404 Not Found response.
- notFound(String) - Static method in class io.karatelabs.http.HttpResponse
-
Shortcut for
error(404, message). - notWithin(Object) - Method in class io.karatelabs.match.Value
- NULL - Enum constant in enum class io.karatelabs.match.Value.Type
- NULL - Static variable in interface io.karatelabs.driver.Keys
- NUMBER - Enum constant in enum class io.karatelabs.match.Value.Type
- NUMPAD0 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD1 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD2 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD3 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD4 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD5 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD6 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD7 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD8 - Static variable in interface io.karatelabs.driver.Keys
- NUMPAD9 - Static variable in interface io.karatelabs.driver.Keys
O
- OAuth2BrowserCallback - Interface in io.karatelabs.http
-
Callback interface for OAuth 2.0 browser-based authorization.
- OAuth2Exception - Exception Class in io.karatelabs.http
- OAuth2Exception(String) - Constructor for exception class io.karatelabs.http.OAuth2Exception
- OAuth2Exception(String, Throwable) - Constructor for exception class io.karatelabs.http.OAuth2Exception
- OAuth2Token - Class in io.karatelabs.http
- OAuth2Token(String, String, String, long, String) - Constructor for class io.karatelabs.http.OAuth2Token
- OAuth2TokenManager - Class in io.karatelabs.http
-
Manages OAuth 2.0 token storage and refresh.
- OAuth2TokenManager(Map<String, Object>) - Constructor for class io.karatelabs.http.OAuth2TokenManager
- object() - Static method in class io.karatelabs.common.Json
- objectId(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Resolve a locator to the CDP
RemoteObjectid (objectId) of its DOM node, ornullif it does not resolve. - of(int, byte[]) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a response with the given status and body.
- of(int, String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a response with the given status and string body.
- of(int, Map<String, Object>, byte[]) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a response with the given status, headers, and body.
- of(Suite, int, int) - Static method in record class io.karatelabs.core.ProgressRunEvent
- of(Suite, Feature) - Static method in class io.karatelabs.core.FeatureRuntime
- of(Driver, String) - Static method in class io.karatelabs.driver.BaseElement
- of(Feature) - Static method in class io.karatelabs.core.FeatureRuntime
- of(Object) - Static method in class io.karatelabs.common.Json
- of(Throwable, ScenarioRuntime) - Static method in record class io.karatelabs.core.ErrorRunEvent
- off(String, Consumer<CdpEvent>) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Unsubscribe from CDP events.
- offAll(String) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Remove all handlers for an event.
- offset(double, double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- offset(double, double) - Method in interface io.karatelabs.driver.Mouse
-
Move mouse by offset from current position.
- offset(double, double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- ok() - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a 200 OK response.
- ok() - Static method in class io.karatelabs.http.HttpResponse
-
200 OKwith no body. - ok(Object) - Static method in class io.karatelabs.http.HttpResponse
-
200 OKwith body type inferred (matches the JS-mock dispatch):String→text/plain,Map/List→application/json,Node→application/xml,byte[]→no Content-Type. - on(String, Consumer<CdpEvent>) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Subscribe to CDP events by method name.
- ON_DIALOG - Static variable in class io.karatelabs.driver.DriverApi
- onBinary(Consumer<byte[]>) - Method in class io.karatelabs.http.WsConnection
-
Register a callback for incoming binary messages.
- onBinaryFrame(ChannelHandlerContext, BinaryWebSocketFrame) - Method in class io.karatelabs.http.WsClientHandler
- onBoot(Suite) - Method in interface io.karatelabs.core.Ext
-
Called once per Suite when the
boot.ext('name')expression evaluates inkarate-boot.js. - onClose(Runnable) - Method in class io.karatelabs.http.WsClient
- onClose(Runnable) - Method in class io.karatelabs.http.WsClientOptions.Builder
-
Register a close listener before the connection is opened (see
WsClientOptions.Builder.onMessage(java.util.function.Consumer<io.karatelabs.http.WsFrame>)). - onClose(Runnable) - Method in class io.karatelabs.http.WsConnection
-
Register a callback for when the connection closes.
- onCloseFrame(ChannelHandlerContext, CloseWebSocketFrame) - Method in class io.karatelabs.http.WsClientHandler
- onDialog(DialogHandler) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Register a handler for JavaScript dialogs (alert, confirm, prompt, beforeunload).
- onDialog(DialogHandler) - Method in interface io.karatelabs.driver.Driver
-
Register a handler for JavaScript dialogs (alert, confirm, prompt, beforeunload).
- onDialog(DialogHandler) - Method in class io.karatelabs.driver.w3c.W3cDriver
- onDisconnect(Runnable) - Method in class io.karatelabs.http.SseConnection
-
Register a callback for when the client disconnects.
- onError(Consumer<Throwable>) - Method in class io.karatelabs.http.WsClient
- onError(Consumer<Throwable>) - Method in class io.karatelabs.http.WsClientOptions.Builder
-
Register an error listener before the connection is opened (see
WsClientOptions.Builder.onMessage(java.util.function.Consumer<io.karatelabs.http.WsFrame>)). - onEvent(RunEvent) - Method in interface io.karatelabs.core.Ext
-
Default
RunListener.onEvent(RunEvent)returns true (continue execution). - onEvent(RunEvent) - Method in class io.karatelabs.core.JsonLinesEventWriter
- onEvent(RunEvent) - Method in interface io.karatelabs.core.RunListener
-
Called for all runtime events.
- onEvent(String, Map<String, Object>) - Method in interface io.karatelabs.driver.cdp.CdpEventListener
-
Called when a CDP event is received.
- onFeatureEnd(FeatureResult) - Method in class io.karatelabs.output.CucumberJsonReportListener
- onFeatureEnd(FeatureResult) - Method in class io.karatelabs.output.HtmlReportListener
- onFeatureEnd(FeatureResult) - Method in class io.karatelabs.output.JunitXmlReportListener
- onFeatureEnd(FeatureResult) - Method in interface io.karatelabs.output.ResultListener
-
Called when a feature completes execution.
- onFeatureStart(Feature) - Method in interface io.karatelabs.output.ResultListener
-
Called when a feature starts execution.
- onMessage(Consumer<WsFrame>) - Method in class io.karatelabs.http.WsClient
- onMessage(Consumer<WsFrame>) - Method in class io.karatelabs.http.WsClientOptions.Builder
-
Register a message listener BEFORE the connection is opened.
- onMessage(Consumer<String>) - Method in class io.karatelabs.http.WsConnection
-
Register a callback for incoming text messages.
- onPingFrame(ChannelHandlerContext, PingWebSocketFrame) - Method in class io.karatelabs.http.WsClientHandler
- onPongFrame(ChannelHandlerContext, PongWebSocketFrame) - Method in class io.karatelabs.http.WsClientHandler
- onScenarioEnd(ScenarioResult) - Method in interface io.karatelabs.output.ResultListener
-
Called when a scenario completes execution.
- onScenarioStart(Scenario) - Method in interface io.karatelabs.output.ResultListener
-
Called when a scenario starts execution.
- onShutdown() - Method in interface io.karatelabs.core.Ext
-
Called after
SUITE_EXITfires. - onStdErr(Consumer<String>) - Method in class io.karatelabs.process.ProcessHandle
-
Add a stderr listener.
- onStdOut(Consumer<String>) - Method in class io.karatelabs.process.ProcessHandle
-
Add a stdout listener.
- onSuiteEnd(SuiteResult) - Method in class io.karatelabs.output.HtmlReportListener
- onSuiteEnd(SuiteResult) - Method in interface io.karatelabs.output.ResultListener
-
Called when the suite completes execution.
- onSuiteStart(Suite) - Method in class io.karatelabs.output.CucumberJsonReportListener
- onSuiteStart(Suite) - Method in class io.karatelabs.output.HtmlReportListener
- onSuiteStart(Suite) - Method in class io.karatelabs.output.JunitXmlReportListener
- onSuiteStart(Suite) - Method in interface io.karatelabs.output.ResultListener
-
Called when the suite starts execution.
- onTextFrame(ChannelHandlerContext, TextWebSocketFrame) - Method in class io.karatelabs.http.WsClientHandler
- open() - Method in class io.karatelabs.http.SseConnection
-
Commit the SSE response head (200,
text/event-stream) now. - openBrowserForAuthorization(String, String) - Method in interface io.karatelabs.http.OAuth2BrowserCallback
-
Open browser for user authorization.
- Operation - Class in io.karatelabs.match
- optional(Driver, String) - Static method in class io.karatelabs.driver.BaseElement
- optional(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Find an element that may not exist (optional).
- optional(String) - Method in interface io.karatelabs.driver.Driver
-
Find an element that may not exist (optional).
- OPTIONAL - Static variable in class io.karatelabs.driver.DriverApi
- OPTIONS - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- optionSelector(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to select a dropdown option.
- OTHER - Enum constant in enum class io.karatelabs.match.Value.Type
- outerHtmlJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get outer HTML of an element.
- outline() - Method in record class io.karatelabs.core.OutlineRunEvent
-
Returns the value of the
outlinerecord component. - OUTLINE_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- OutlineRunEvent - Record Class in io.karatelabs.core
-
Scenario-outline-level event (OUTLINE_ENTER).
- OutlineRunEvent(FeatureRuntime, ScenarioOutline, long) - Constructor for record class io.karatelabs.core.OutlineRunEvent
-
Creates an instance of a
OutlineRunEventrecord class. - outlineSlug(ScenarioOutline, Feature) - Static method in class io.karatelabs.core.RunUtils
- outputConsoleSummary - Variable in class io.karatelabs.core.Suite
- outputConsoleSummary(boolean) - Method in class io.karatelabs.core.Runner.Builder
- outputCucumberJson - Variable in class io.karatelabs.core.Suite
- outputCucumberJson(boolean) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- outputCucumberJson(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable/disable Cucumber JSON report generation.
- outputDir - Variable in class io.karatelabs.core.Suite
- outputDir(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- outputDir(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the output directory for reports.
- outputDir(Path) - Method in class io.karatelabs.core.Runner.Builder
-
Set the output directory for reports.
- outputHtmlReport - Variable in class io.karatelabs.core.Suite
- outputHtmlReport(boolean) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- outputHtmlReport(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable/disable HTML report generation.
- outputJsonLines - Variable in class io.karatelabs.core.Suite
- outputJsonLines(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable/disable JSON Lines streaming output.
- outputJunitXml - Variable in class io.karatelabs.core.Suite
- outputJunitXml(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Enable/disable JUnit XML report generation.
- OutputPom() - Constructor for class io.karatelabs.core.KaratePom.OutputPom
P
- page(String, String, String) - Method in class io.karatelabs.core.ReportAssets
-
Add a slot page contribution (e.g.
- Page(String, String, String) - Constructor for record class io.karatelabs.core.ReportAssets.Page
-
Creates an instance of a
Pagerecord class. - PAGE_DOWN - Static variable in interface io.karatelabs.driver.Keys
- PAGE_UP - Static variable in interface io.karatelabs.driver.Keys
- pageLoadStrategy(PageLoadStrategy) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- PageLoadStrategy - Enum Class in io.karatelabs.driver
-
Page load strategies for navigation.
- pages() - Method in class io.karatelabs.core.ReportAssets
- parallel - Variable in class io.karatelabs.core.Suite
- parallel(int) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- parallel(int) - Method in class io.karatelabs.core.Runner.Builder
-
Execute the tests with the specified thread count.
- param(String, Object) - Method in class io.karatelabs.driver.cdp.CdpMessage
- param(String, String...) - Method in class io.karatelabs.http.Http
- param(String, String...) - Method in class io.karatelabs.http.HttpRequestBuilder
- param(String, List<String>) - Method in class io.karatelabs.http.HttpRequestBuilder
- params(Map<String, Object>) - Method in class io.karatelabs.driver.cdp.CdpMessage
- params(Map<String, List<String>>) - Method in class io.karatelabs.http.HttpRequestBuilder
- parentFrame() - Method in class io.karatelabs.driver.w3c.W3cSession
- parentOutline(Scenario) - Static method in class io.karatelabs.core.RunUtils
-
Returns the parent ScenarioOutline if the scenario was generated from one, else null.
- parse() - Method in class io.karatelabs.gherkin.GherkinParser
- parse(String) - Static method in class io.karatelabs.core.KaratePom
-
Parse configuration from a JSON string.
- parse(String...) - Static method in class io.karatelabs.Main
-
Parse command-line arguments without executing.
- parseAndUpdateFrom(String) - Method in class io.karatelabs.gherkin.Step
- parseContentTypeCharset(String) - Static method in class io.karatelabs.http.HttpUtils
- parseContentTypeParams(String) - Static method in class io.karatelabs.http.HttpUtils
- ParsedFeaturePath(String, String, boolean, Set<Integer>) - Constructor for record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Creates an instance of a
ParsedFeaturePathrecord class. - parseFeaturePath(String) - Static method in class io.karatelabs.core.StepUtils
-
Parse a feature path into path and tag/line components.
- parseLenient(String) - Static method in class io.karatelabs.common.Json
- parseMatchExpression(String) - Static method in class io.karatelabs.gherkin.GherkinParser
-
Parses a match expression string into a MatchExpression object.
- parsePathAndParams(String) - Static method in class io.karatelabs.http.HttpUtils
-
Parse a URI path that may contain query parameters.
- parseQueryParams(String) - Static method in class io.karatelabs.http.HttpUtils
-
Parse query string parameters from a URI.
- parseStrict(String) - Static method in class io.karatelabs.common.Json
- parseStrict(String, boolean) - Static method in class io.karatelabs.common.Json
- parseUriIntoUrlBaseAndPath(String) - Static method in class io.karatelabs.http.HttpUtils
- parseUriPattern(String, String) - Static method in class io.karatelabs.http.HttpUtils
- part(String, Object) - Method in class io.karatelabs.http.MultiPartBuilder
- part(Map<String, Object>) - Method in class io.karatelabs.http.MultiPartBuilder
- Part(String, String, byte[]) - Constructor for class io.karatelabs.core.StepResult.Part
-
Inline-bytes part — core writes the file and sets
StepResult.Part.fileName. - Part(String, String, String) - Constructor for class io.karatelabs.core.StepResult.Part
-
URL part — the ext has already written the asset to disk.
- pass - Variable in class io.karatelabs.match.Result
- pass(String) - Static method in class io.karatelabs.output.Console
- PASS - Static variable in class io.karatelabs.match.Result
- passed(Step, long, long) - Static method in class io.karatelabs.core.StepResult
- PASSED - Enum constant in enum class io.karatelabs.core.StepResult.Status
- patch(Object) - Method in class io.karatelabs.http.Http
- PATCH - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- patchJson(String) - Method in class io.karatelabs.http.Http
- path - Variable in class io.karatelabs.core.StepUtils.VarAndPath
- path() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns the value of the
pathrecord component. - path() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
pathrecord component. - path(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- path(String...) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- path(String...) - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.path(String...)instead. - path(String...) - Method in class io.karatelabs.core.Runner.Builder
-
Add paths to search for .feature files.
- path(String...) - Static method in class io.karatelabs.core.Runner
-
Start building a test run with one or more paths.
- path(String...) - Method in class io.karatelabs.http.Http
- path(List<String>) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- path(List<String>) - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.path(List)instead. - path(List<String>) - Method in class io.karatelabs.core.Runner.Builder
-
Add paths to search for .feature files.
- path(List<String>) - Static method in class io.karatelabs.core.Runner
-
Start building a test run with a list of paths.
- PATH - Static variable in class io.karatelabs.http.Cookies
- pathExists(String) - Method in class io.karatelabs.common.Json
- pathMatches(String) - Method in class io.karatelabs.http.HttpRequest
- pathPrefix(String) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- pathPrefix(String) - Method in class io.karatelabs.core.MockServer.Builder
-
Set a path prefix to strip from incoming requests.
- paths(String...) - Method in class io.karatelabs.http.HttpRequestBuilder
- PathSecurity - Class in io.karatelabs.http
-
Provides protection against path traversal attacks in resource resolution.
- PathSecurity() - Constructor for class io.karatelabs.http.PathSecurity
- PathSecurity.PathTraversalException - Exception Class in io.karatelabs.http
-
Exception thrown when a path traversal attempt is detected.
- PathTraversalException(String) - Constructor for exception class io.karatelabs.http.PathSecurity.PathTraversalException
- pause(Number) - Method in interface io.karatelabs.core.PerfHook
-
Pause execution for the specified duration.
- PAUSE - Static variable in interface io.karatelabs.driver.Keys
- pdf() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Generate a PDF of the current page with default options.
- pdf() - Method in interface io.karatelabs.driver.Driver
-
Generate a PDF of the current page with default options.
- pdf() - Method in class io.karatelabs.driver.w3c.W3cDriver
- pdf(Map<String, Object>) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Generate a PDF of the current page.
- pdf(Map<String, Object>) - Method in interface io.karatelabs.driver.CoreDriver
-
Generate a PDF of the current page.
- pdf(Map<String, Object>) - Method in interface io.karatelabs.driver.Driver
-
Generate a PDF of the current page.
- pdf(Map<String, Object>) - Method in class io.karatelabs.driver.w3c.W3cDriver
- PDF - Static variable in class io.karatelabs.driver.DriverApi
- peek() - Method in class io.karatelabs.output.LogContext
-
Get accumulated log without clearing.
- PerfContext - Interface in io.karatelabs.core
-
Interface for capturing custom performance events from Java code.
- PerfEvent - Class in io.karatelabs.core
-
Represents a performance event for Gatling integration.
- PerfEvent(long, long, String, int) - Constructor for class io.karatelabs.core.PerfEvent
-
Create a new performance event.
- PerfHook - Interface in io.karatelabs.core
-
Hook interface for performance testing integration (e.g., Gatling).
- performActions(List<Map<String, Object>>) - Method in class io.karatelabs.driver.w3c.W3cSession
-
Perform W3C Actions (keyboard, mouse, pointer).
- persistFlashToSession() - Method in class io.karatelabs.http.ServerMarkupContext
-
Persist current flash messages to session.
- ping() - Method in class io.karatelabs.http.WsClient
- ping() - Static method in class io.karatelabs.http.WsFrame
- PING - Enum constant in enum class io.karatelabs.http.WsFrame.Type
- pingInterval(Duration) - Method in class io.karatelabs.http.WsClientOptions.Builder
- PkceGenerator - Class in io.karatelabs.http
-
PKCE (Proof Key for Code Exchange) code verifier and challenge generator.
- pong() - Static method in class io.karatelabs.http.WsFrame
- PONG - Enum constant in enum class io.karatelabs.http.WsFrame.Type
- pool() - Method in class io.karatelabs.core.Runner.Builder
-
Enable browser driver pooling for parallel UI tests.
- pool(int) - Method in class io.karatelabs.core.Runner.Builder
-
Enable browser driver pooling with explicit pool size.
- PooledDriverProvider - Class in io.karatelabs.driver
-
Driver provider that maintains a bounded pool of drivers.
- PooledDriverProvider() - Constructor for class io.karatelabs.driver.PooledDriverProvider
-
Create a pooled driver provider with auto-detected pool size.
- PooledDriverProvider(int) - Constructor for class io.karatelabs.driver.PooledDriverProvider
-
Create a pooled driver provider with explicit pool size.
- port(int) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- port(int) - Method in class io.karatelabs.core.MockServer.Builder
-
Set the port to listen on. 0 = dynamic port.
- port(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- PortUtils - Class in io.karatelabs.process
-
Utilities for waiting on ports and HTTP endpoints.
- position() - Method in class io.karatelabs.driver.BaseElement
- position() - Method in interface io.karatelabs.driver.Element
- position(boolean) - Method in class io.karatelabs.driver.BaseElement
- position(boolean) - Method in interface io.karatelabs.driver.Element
- position(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the position of an element (absolute).
- position(String) - Method in interface io.karatelabs.driver.Driver
-
Get the position of an element (absolute).
- position(String, boolean) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the position of an element.
- position(String, boolean) - Method in interface io.karatelabs.driver.Driver
-
Get the position of an element.
- POSITION - Static variable in class io.karatelabs.driver.DriverApi
- post(Object) - Method in class io.karatelabs.http.Http
- POST - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- postJson(String) - Method in class io.karatelabs.http.Http
- PREFIXES - Static variable in class io.karatelabs.gherkin.Step
- prepareFeatureData(FeatureResult, Path) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Extract everything the feature page needs from a live
FeatureResult. - press(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- press(String) - Method in interface io.karatelabs.driver.Keys
-
Press and release a key.
- press(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- print(String) - Static method in class io.karatelabs.output.Console
- println() - Static method in class io.karatelabs.output.Console
- println(String) - Static method in class io.karatelabs.output.Console
- printSummary() - Method in class io.karatelabs.core.FeatureResult
-
Print a summary of this feature's results to the console.
- printSummary() - Method in class io.karatelabs.core.SuiteResult
-
Print a summary of the test results to the console.
- printSummary(boolean) - Method in class io.karatelabs.core.FeatureResult
- printSummary(String, int) - Method in class io.karatelabs.core.SuiteResult
-
Print a summary of the test results to the console.
- proceed(String) - Method in class io.karatelabs.http.HttpRequest
-
Forward this request to a target URL and return the response.
- process(HttpRequest, EntityDetails, HttpContext) - Method in class io.karatelabs.http.ApacheHttpClient
- processBody() - Method in class io.karatelabs.http.HttpRequest
-
Process the request body for form-urlencoded or multipart data.
- ProcessBuilder - Class in io.karatelabs.process
-
Builder for ProcessConfig.
- ProcessConfig - Record Class in io.karatelabs.process
-
Immutable configuration for process execution.
- ProcessConfig(List<String>, Path, Map<String, String>, boolean, boolean, Duration, Consumer<String>, Consumer<String>, boolean) - Constructor for record class io.karatelabs.process.ProcessConfig
-
Creates an instance of a
ProcessConfigrecord class. - ProcessHandle - Class in io.karatelabs.process
-
Main process wrapper exposed to JavaScript.
- processPath(String, Map<String, Object>) - Method in class io.karatelabs.markup.Markup
- processString(String, Map<String, Object>) - Method in class io.karatelabs.markup.Markup
- PROGRESS - Enum constant in enum class io.karatelabs.core.RunEventType
- ProgressRunEvent - Record Class in io.karatelabs.core
-
Progress event (PROGRESS).
- ProgressRunEvent(Suite, int, int, long) - Constructor for record class io.karatelabs.core.ProgressRunEvent
-
Creates an instance of a
ProgressRunEventrecord class. - PROP_CONFIG_DIR - Static variable in class io.karatelabs.core.KarateOptionsHandler
- PROP_ENV - Static variable in class io.karatelabs.core.KarateOptionsHandler
- PROP_OPTIONS - Static variable in class io.karatelabs.core.KarateOptionsHandler
- property(String) - Method in class io.karatelabs.driver.BaseElement
- property(String) - Method in interface io.karatelabs.driver.Element
- property(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get a property of an element.
- property(String, String) - Method in interface io.karatelabs.driver.Driver
-
Get a property of an element.
- PROPERTY - Static variable in class io.karatelabs.driver.DriverApi
- propertyJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get a property of an element.
- PROTOCOL_ERROR - Enum constant in enum class io.karatelabs.http.WsException.Type
- put(Object) - Method in class io.karatelabs.http.Http
- PUT - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- putHeader(String, String...) - Method in class io.karatelabs.http.HttpRequest
- putHeader(String, List<String>) - Method in class io.karatelabs.http.HttpRequest
- putJson(String) - Method in class io.karatelabs.http.Http
- putMember(String, Object) - Method in interface io.karatelabs.driver.Driver
-
Set a property value by name for JavaScript assignment.
- putMember(String, Object) - Method in class io.karatelabs.http.HttpResponse
- putMember(String, Object) - Method in class io.karatelabs.http.Session
Q
- quit() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Close driver and browser.
- quit() - Method in interface io.karatelabs.driver.CoreDriver
-
Close driver and browser.
- quit() - Method in interface io.karatelabs.driver.Driver
-
Close driver and browser.
- quit() - Method in class io.karatelabs.driver.w3c.W3cDriver
- QUIT - Static variable in class io.karatelabs.driver.DriverApi
R
- rawPaths(String...) - Method in class io.karatelabs.http.ServerConfig
-
Register paths that ship their own full HTML shell and should NOT be wrapped with
ServerConfig.shellTemplate(String). - read(Resource) - Static method in class io.karatelabs.gherkin.Feature
- read(File) - Static method in class io.karatelabs.gherkin.Feature
- read(String) - Method in class io.karatelabs.core.BootBinding
-
boot.read('path')— read a text file, on the one unified rule: a leading/anchors THE project root, a bare ref is root-relative,classpath:is classloader-first then theBootBinding.classpath(String)fallback, andfile:is a host path. - read(String) - Static method in class io.karatelabs.gherkin.Feature
- read(String) - Method in class io.karatelabs.http.ServerMarkupContext
- read(String) - Method in interface io.karatelabs.markup.MarkupContext
-
Read a resource as text.
- readBytes(String) - Method in class io.karatelabs.http.ServerMarkupContext
- readBytes(String) - Method in interface io.karatelabs.markup.MarkupContext
-
Read a resource as bytes.
- reason() - Method in record class io.karatelabs.match.Result.Failure
-
Returns the value of the
reasonrecord component. - recordFailedEmbedded(String, Exception) - Method in class io.karatelabs.core.ScenarioRuntime
-
An embedded expression that was evaluated and threw, keyed by the placeholder text it was left as.
- red(String) - Static method in class io.karatelabs.output.Console
- RED - Static variable in class io.karatelabs.output.Console
- redirect(int, String) - Static method in class io.karatelabs.http.HttpResponse
-
Custom redirect status (301 / 303 / 307 / 308) +
Locationheader. - redirect(String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a redirect response.
- redirect(String) - Static method in class io.karatelabs.http.HttpResponse
-
302 Found+Locationheader. - redirect(String) - Method in class io.karatelabs.http.ServerMarkupContext
-
Set redirect path.
- REDIRECT - Enum constant in enum class io.karatelabs.http.TemplateFlowSignal.Kind
- redirectErrorStream() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
redirectErrorStreamrecord component. - redirectErrorStream(boolean) - Method in class io.karatelabs.process.ProcessBuilder
- RedirectException(String) - Constructor for exception class io.karatelabs.http.ServerRequestHandler.RedirectException
- referrerPolicy(String) - Method in class io.karatelabs.http.ServerConfig
- refresh() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Refresh the current page.
- refresh() - Method in interface io.karatelabs.driver.Driver
-
Refresh the current page.
- refresh() - Method in class io.karatelabs.driver.w3c.W3cDriver
- refresh() - Method in class io.karatelabs.driver.w3c.W3cSession
- REFRESH - Static variable in class io.karatelabs.driver.DriverApi
- refreshToken(HttpRequestBuilder) - Method in class io.karatelabs.http.OAuth2TokenManager
-
Refresh access token using refresh token
- registerChannel(Channel) - Method in class io.karatelabs.core.ScenarioRuntime
-
Register a channel for lifecycle management.
- registerChannelFactory(String, ChannelFactory) - Method in class io.karatelabs.core.Suite
-
Register a
ChannelFactoryfor an async channel type (e.g. - registerExtListener(Ext) - Method in class io.karatelabs.core.Suite
-
Register an
Extas aRunListeneron this Suite. - registerGlobal(String, ExtGlobalFactory) - Method in class io.karatelabs.core.Suite
-
Register a per-scenario ext global: the
ExtGlobalFactoryis invoked once per scenario at seed time to mint a fresh instance bound with the scenario'sKarateJsContext. - registerGlobal(String, Object) - Method in class io.karatelabs.core.Suite
-
Register an ext global under
name, seeded into every scenario's JS scope beforekarate-config.jsevaluates. - registerReportAssets(ReportAssets, ClassLoader) - Method in class io.karatelabs.core.Suite
-
Register an ext's report-asset contribution.
- reject(int, String) - Method in class io.karatelabs.http.SseConnection
-
Reject this would-be SSE connection with a normal HTTP error response, before any event is sent — for an
Accept: text/event-streamrequest that is not actually an event-source route (the MCP Streamable-HTTP spec wants405for a GET to a POST-only endpoint). - release(ScenarioLockManager.LockHandle) - Method in class io.karatelabs.core.ScenarioLockManager
-
Release locks previously acquired for a scenario.
- release(ScenarioRuntime, Driver) - Method in interface io.karatelabs.driver.DriverProvider
-
Release a driver instance after scenario completion.
- release(ScenarioRuntime, Driver) - Method in class io.karatelabs.driver.PooledDriverProvider
- release(HttpClient) - Method in class io.karatelabs.http.DefaultHttpClientFactory
-
Closes it.
- release(HttpClient) - Method in interface io.karatelabs.http.HttpClientFactory
-
Called when the scenario that owns
clienthas finished with it. - releaseActions() - Method in class io.karatelabs.driver.w3c.W3cSession
-
Release all actions (reset keyboard/mouse state).
- releaseCallResults() - Method in class io.karatelabs.core.FeatureResult
-
Drop the nested
karate.call()result trees hanging off this feature's steps. - releaseCallResults() - Method in class io.karatelabs.core.ScenarioResult
-
Drop this scenario's nested call trees.
- releaseLane() - Method in class io.karatelabs.core.Suite
- releaseStepLogs() - Method in class io.karatelabs.core.FeatureResult
-
Drop each step's captured log text and embedded assets, once every consumer has had them.
- reload() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Reload the page ignoring cache.
- reload() - Method in interface io.karatelabs.driver.Driver
-
Reload the page ignoring cache.
- reload() - Method in class io.karatelabs.driver.w3c.W3cDriver
- RELOAD - Static variable in class io.karatelabs.driver.DriverApi
- remove(String) - Method in class io.karatelabs.common.Json
- removeAtPath(Map<String, Object>, String) - Static method in class io.karatelabs.core.StepUtils
-
Remove a value at a nested path in a map.
- removeBinding(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Remove a binding previously added with
CdpDriver.addBinding(String). - removeCdpEventListener(CdpEventListener) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Remove an external event listener.
- removeExternalListener(CdpEventListener) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Remove an external event listener.
- removeHeader(String) - Method in class io.karatelabs.http.HttpRequest
- removeHeader(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- removeHeader(String) - Method in class io.karatelabs.http.HttpResponse
-
Remove a header by name.
- removeInitScript(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Unregister a module added with
CdpDriver.addInitScript(String, String, String...)so it no longer installs on future navigations. - removeMember(String) - Method in class io.karatelabs.http.HttpResponse
- removeMember(String) - Method in class io.karatelabs.http.Session
- removeScriptToEvaluateOnNewDocument(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Uninstall a script previously added with
CdpDriver.addScriptToEvaluateOnNewDocument(String). - removeVariable(String) - Method in class io.karatelabs.markup.MarkupTemplateContext
- renderFeatureHtml(Map<String, Object>, Path, Map<String, ReportAssets>) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Template + IO only.
- replace(String, String) - Method in class io.karatelabs.gherkin.Scenario
- replace(String, String) - Method in class io.karatelabs.gherkin.Table
- ReportAssets - Class in io.karatelabs.core
-
Imperative spec for one ext's report-asset contribution, built fluently inside
Ext.onBoot(Suite)and handed toSuite.registerReportAssets(ReportAssets, ClassLoader)(see EXT.md § Report assets). - ReportAssets.Page - Record Class in io.karatelabs.core
-
One nav-page (or other slot) contribution.
- reportDir(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use outputDir() instead.
- reportPerfEvent(PerfEvent) - Method in interface io.karatelabs.core.PerfHook
-
Report a completed performance event.
- request() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns the value of the
requestrecord component. - requestExpressionsEnabled(boolean) - Method in class io.karatelabs.core.MockServer.Builder
-
Evaluate embedded
#(...)expressions found in request-derived data (request/requestHeaders/requestParams). - requestFilter(BiFunction<HttpRequest, ServerMarkupContext, HttpResponse>) - Method in class io.karatelabs.http.ServerConfig
-
Set a request filter that runs after session loading but before CSRF validation.
- requestInterceptor(Consumer<HttpRequest>) - Method in class io.karatelabs.http.ServerConfig
- requiresJsonlEvents() - Method in interface io.karatelabs.core.Ext
-
An ext whose output is computed from the
karate-events.jsonlstream (e.g. a coverage analyzer) returnstrueso the Suite auto-enables the JSONL event writer — exactly as if-f karate:jsonl/Runner...outputJsonLines(true)had been passed. - requiresValidation(String) - Static method in class io.karatelabs.http.CsrfProtection
-
Check if the request method requires CSRF validation.
- reset() - Method in class io.karatelabs.http.HttpRequestBuilder
- RESET - Static variable in class io.karatelabs.output.Console
- resetDriver(Driver) - Method in class io.karatelabs.driver.PooledDriverProvider
-
Reset driver state between scenarios.
- resetEmbedCounter() - Static method in class io.karatelabs.output.HtmlReportWriter
-
Reset the embed file sequence.
- resolve(String) - Method in class io.karatelabs.core.FeatureRuntime
- resolve(String, Resource) - Method in interface io.karatelabs.markup.ResourceResolver
- resolve(String, Resource) - Method in class io.karatelabs.markup.RootResourceResolver
- ResourceResolver - Interface in io.karatelabs.markup
- resourceRoot(String) - Method in class io.karatelabs.http.ServerConfig
- response() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns the value of the
responserecord component. - restore() - Method in class io.karatelabs.output.LogContext.Snapshot
- restoreFrom(HttpRequestBuilder) - Method in class io.karatelabs.http.HttpRequestBuilder
- result() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns the value of the
resultrecord component. - Result - Class in io.karatelabs.match
- Result.Failure - Record Class in io.karatelabs.match
-
Represents a single failure in a match operation with structured data.
- resultListener(ResultListener) - Method in class io.karatelabs.core.Runner.Builder
-
Add a result listener for streaming test results.
- ResultListener - Interface in io.karatelabs.output
-
Interface for receiving test execution results as they stream in.
- resultListeners(Collection<ResultListener>) - Method in class io.karatelabs.core.Runner.Builder
-
Add multiple result listeners.
- Results - Class in com.intuit.karate
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SuiteResultinstead. This class will be removed in a future release. - Results(SuiteResult) - Constructor for class com.intuit.karate.Results
-
Deprecated.
- retainCallResults - Variable in class io.karatelabs.core.Suite
- retainCallResults(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Keep the nested
karate.call()result trees reachable after the run. - retainStepLogs - Variable in class io.karatelabs.core.Suite
- retainStepLogs(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Keep each step's captured log text and embeds reachable after the run.
- retry() - Method in class io.karatelabs.driver.BaseElement
- retry() - Method in interface io.karatelabs.driver.Element
- retry(int) - Method in class io.karatelabs.driver.BaseElement
- retry(int) - Method in interface io.karatelabs.driver.Element
- retry(int, int) - Method in class io.karatelabs.driver.BaseElement
- retry(int, int) - Method in interface io.karatelabs.driver.Element
- RETRY - Static variable in class io.karatelabs.driver.DriverApi
- retryCount(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- retryInterval(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- retryUntil(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- RETURN - Static variable in interface io.karatelabs.driver.Keys
- RIGHT - Static variable in interface io.karatelabs.driver.Keys
- RIGHT_OF - Enum constant in enum class io.karatelabs.driver.Finder.Position
- RIGHT_OF - Static variable in class io.karatelabs.driver.DriverApi
- rightClick() - Method in class io.karatelabs.driver.cdp.CdpMouse
- rightClick() - Method in interface io.karatelabs.driver.Mouse
-
Right-click at the current position.
- rightClick() - Method in class io.karatelabs.driver.w3c.W3cMouse
- rightOf(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Create a finder for elements to the right of the reference element.
- rightOf(String) - Method in interface io.karatelabs.driver.Driver
-
Create a finder for elements to the right of the reference element.
- root - Variable in class io.karatelabs.core.KarateJs
- root - Variable in class io.karatelabs.core.Suite
-
THE project root — see
Suite.getRoot(). - RootResourceResolver - Class in io.karatelabs.markup
-
Resource resolver that resolves paths relative to a configured root.
- RootResourceResolver(String) - Constructor for class io.karatelabs.markup.RootResourceResolver
-
Creates a resolver with the specified root path.
- run() - Method in class io.karatelabs.core.Suite
- RunCommand - Class in io.karatelabs.cli
-
The 'run' subcommand for executing Karate tests.
- RunCommand() - Constructor for class io.karatelabs.cli.RunCommand
- RunEvent - Interface in io.karatelabs.core
-
Base interface for runtime events fired during test execution.
- RunEventType - Enum Class in io.karatelabs.core
-
Event types for the unified runtime event system.
- runFeature(Class<?>, String, Map<String, Object>, boolean) - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.runFeature(String, Map)with a classpath: prefixed path instead. - runFeature(String, Map<String, Object>) - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.runFeature(String, Map)instead. - runFeature(String, Map<String, Object>) - Static method in class io.karatelabs.core.Runner
-
Execute a single feature with pre-defined variables.
- runFeature(String, Map<String, Object>, boolean) - Static method in class com.intuit.karate.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.runFeature(String, Map)instead. - runFeature(String, Map<String, Object>, PerfHook) - Static method in class io.karatelabs.core.Runner
-
Run a single feature file with arguments and optional PerfHook.
- runFeature(String, Map<String, Object>, PerfHook, List<String>) - Static method in class io.karatelabs.core.Runner
-
Run a single feature file with arguments, optional PerfHook and tag filter.
- runFeature(String, Map<String, Object>, PerfHook, List<String>, Runner.Builder) - Static method in class io.karatelabs.core.Runner
-
Run a single feature with arguments, optional PerfHook, tag filter, and a pre-configured
Runner.Buildertemplate (env, configDir, systemProperties). - RunListener - Interface in io.karatelabs.core
-
Unified listener interface for runtime events.
- RunListenerFactory - Interface in io.karatelabs.core
-
Factory for creating per-thread RunListener instances.
- Runner - Class in com.intuit.karate
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runnerinstead. This class will be removed in a future release. - Runner - Class in io.karatelabs.core
-
Main entry point for running Karate tests programmatically.
- Runner.Builder - Class in com.intuit.karate
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
Runner.Builderinstead. - Runner.Builder - Class in io.karatelabs.core
- RUNTIME_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for core framework (Suite, Runner, StepExecutor, reports, config, process utils)
- RunUtils - Class in io.karatelabs.core
-
Shared helpers for run-event JSON shaping — cross-run-stable slug computation and tag-text extraction.
- runWithPaths(List<String>) - Method in class io.karatelabs.cli.RunCommand
-
Run with paths provided externally (for legacy command handling).
S
- SAFARIDRIVER - Enum constant in enum class io.karatelabs.driver.w3c.W3cBrowserType
- SAME_SITE - Static variable in class io.karatelabs.http.Cookies
- sameFile() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns the value of the
sameFilerecord component. - SameSite - Enum Class in io.karatelabs.http
-
SameSite cookie attribute values per RFC 6265bis.
- save(Session) - Method in class io.karatelabs.http.FileSessionStore
- save(Session) - Method in class io.karatelabs.http.InMemorySessionStore
- save(Session) - Method in interface io.karatelabs.http.SessionStore
-
Save/update a session in the store.
- scanToken() - Method in class io.karatelabs.gherkin.GherkinLexer
- Scenario - Class in io.karatelabs.gherkin
- Scenario(Feature, FeatureSection, int) - Constructor for class io.karatelabs.gherkin.Scenario
- SCENARIO_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- SCENARIO_EXIT - Enum constant in enum class io.karatelabs.core.RunEventType
- SCENARIO_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for test logs (karate.log, karate.logger, print statements)
- scenarioIdentity(Scenario, String) - Static method in class io.karatelabs.core.RunUtils
-
The scenario's shared identity + metadata fields — name, slug, description, line, section/example indices, and example data.
- ScenarioLockManager - Class in io.karatelabs.core
-
Manages locks for parallel scenario execution.
- ScenarioLockManager() - Constructor for class io.karatelabs.core.ScenarioLockManager
- ScenarioLockManager.LockHandle - Class in io.karatelabs.core
-
Handle for releasing acquired locks.
- scenarioName - Variable in class io.karatelabs.core.Suite
- scenarioName(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- scenarioName(String) - Method in class io.karatelabs.core.Runner.Builder
-
Filter by scenario name (exact match, whitespace-trimmed on both sides).
- ScenarioOutline - Class in io.karatelabs.gherkin
- ScenarioOutline(Feature, FeatureSection) - Constructor for class io.karatelabs.gherkin.ScenarioOutline
- ScenarioResult - Class in io.karatelabs.core
- ScenarioResult(Scenario) - Constructor for class io.karatelabs.core.ScenarioResult
- ScenarioRunEvent - Record Class in io.karatelabs.core
-
Scenario-level events (SCENARIO_ENTER, SCENARIO_EXIT).
- ScenarioRunEvent(RunEventType, ScenarioRuntime, ScenarioResult, long) - Constructor for record class io.karatelabs.core.ScenarioRunEvent
-
Creates an instance of a
ScenarioRunEventrecord class. - scenarioRuntime() - Method in record class io.karatelabs.core.ErrorRunEvent
-
Returns the value of the
scenarioRuntimerecord component. - scenarioRuntime() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns the value of the
scenarioRuntimerecord component. - scenarioRuntime() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns the value of the
scenarioRuntimerecord component. - ScenarioRuntime - Class in io.karatelabs.core
- ScenarioRuntime(FeatureRuntime, Scenario) - Constructor for class io.karatelabs.core.ScenarioRuntime
- ScenarioRuntime(KarateJs, Scenario) - Constructor for class io.karatelabs.core.ScenarioRuntime
-
Constructor for standalone execution without FeatureRuntime.
- scenarioSlug(Scenario, Feature) - Static method in class io.karatelabs.core.RunUtils
- SCHEMA_VERSION - Static variable in class io.karatelabs.core.JsonLinesEventWriter
- scope(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
-
Set driver scope (default: "scenario").
- scopedCountJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate a JS expression that counts descendants of the given pure-JS base locator matching the child CSS selector.
- scopedIndexedSelectorJs(String, String, int) - Static method in class io.karatelabs.driver.Locators
-
Generate a pure-JS locator that evaluates to the nth descendant of the given pure-JS base locator matching the child CSS selector.
- scopedSelectorJs(String, String) - Static method in class io.karatelabs.driver.Locators
-
Generate a pure-JS locator that evaluates to the first descendant of the given pure-JS base locator matching the child CSS selector, or
nullif no match. - screenshot() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Take screenshot and return PNG bytes.
- screenshot() - Method in interface io.karatelabs.driver.CoreDriver
-
Take screenshot and return PNG bytes.
- screenshot() - Method in interface io.karatelabs.driver.Driver
-
Take screenshot and return PNG bytes.
- screenshot() - Method in class io.karatelabs.driver.w3c.W3cDriver
- screenshot() - Method in class io.karatelabs.driver.w3c.W3cSession
- screenshot(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Take screenshot, optionally embed in report.
- screenshot(boolean) - Method in interface io.karatelabs.driver.Driver
-
Take screenshot, optionally embed in report.
- screenshot(boolean) - Method in class io.karatelabs.driver.w3c.W3cDriver
- screenshot(String) - Method in interface io.karatelabs.driver.Driver
-
Take a screenshot of a specific element (clipped to its bounding rect).
- screenshot(String, boolean) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Take a screenshot clipped to the bounding rect of the element matched by the locator.
- screenshot(String, boolean) - Method in interface io.karatelabs.driver.Driver
-
Take a screenshot of a specific element, optionally embed in report.
- screenshot(String, boolean) - Method in class io.karatelabs.driver.w3c.W3cDriver
-
Element-clipped screenshot via the W3C
GET /session/{id}/element/{eid}/screenshotendpoint. - SCREENSHOT - Static variable in class io.karatelabs.driver.DriverApi
- screenshotOnFailure(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- script(Object) - Method in interface io.karatelabs.driver.Driver
-
Execute JavaScript with support for JsFunction.
- script(String) - Method in class io.karatelabs.driver.BaseElement
- script(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Execute JavaScript and return result.
- script(String) - Method in interface io.karatelabs.driver.Driver
-
Execute JavaScript and return result.
- script(String) - Method in interface io.karatelabs.driver.Element
- script(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- script(String, Object) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Execute a script on an element.
- script(String, Object) - Method in interface io.karatelabs.driver.Driver
-
Execute a script on an element.
- SCRIPT - Static variable in class io.karatelabs.driver.DriverApi
- SCRIPT_ALL - Static variable in class io.karatelabs.driver.DriverApi
- scriptAll(String, Object) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Execute a script on all matching elements.
- scriptAll(String, Object) - Method in interface io.karatelabs.driver.Driver
-
Execute a script on all matching elements.
- scriptAll(String, Object, Predicate<Object>) - Method in interface io.karatelabs.driver.Driver
-
Run an element-bound JS expression on every match and filter the resulting values via the predicate.
- scriptAllSelector(String, Object) - Static method in class io.karatelabs.driver.Locators
-
Execute a function on all elements matching locator.
- scriptAllSelector(String, Object, String) - Static method in class io.karatelabs.driver.Locators
-
Execute a function on all elements matching locator with context.
- scriptSelector(String, Object) - Static method in class io.karatelabs.driver.Locators
-
Execute a function on a single element found by locator.
- scriptSelector(String, Object, String) - Static method in class io.karatelabs.driver.Locators
-
Execute a function on a single element found by locator with context.
- scroll() - Method in class io.karatelabs.driver.BaseElement
- scroll() - Method in interface io.karatelabs.driver.Element
- scroll(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Scroll an element into view.
- scroll(String) - Method in interface io.karatelabs.driver.Driver
-
Scroll an element into view.
- scroll(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- SCROLL - Static variable in class io.karatelabs.driver.DriverApi
- SCROLL_JS_FUNCTION - Static variable in class io.karatelabs.driver.Locators
- scrollDown(double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- scrollDown(double) - Method in interface io.karatelabs.driver.Mouse
-
Scroll down at the current position.
- scrollDown(double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- scrollJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to scroll an element into view.
- scrollLeft(double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- scrollLeft(double) - Method in interface io.karatelabs.driver.Mouse
-
Scroll left at the current position.
- scrollLeft(double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- scrollRight(double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- scrollRight(double) - Method in interface io.karatelabs.driver.Mouse
-
Scroll right at the current position.
- scrollRight(double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- scrollUp(double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- scrollUp(double) - Method in interface io.karatelabs.driver.Mouse
-
Scroll up at the current position.
- scrollUp(double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- SECURE - Static variable in class io.karatelabs.http.Cookies
- SecurityHeaders - Class in io.karatelabs.http
-
Applies security headers to HTTP responses to protect against common web vulnerabilities.
- SecurityHeaders() - Constructor for class io.karatelabs.http.SecurityHeaders
- securityHeadersEnabled(boolean) - Method in class io.karatelabs.http.ServerConfig
- select(int) - Method in class io.karatelabs.driver.BaseElement
- select(int) - Method in interface io.karatelabs.driver.Element
- select(String) - Method in class io.karatelabs.driver.BaseElement
- select(String) - Method in interface io.karatelabs.driver.Element
- select(String, int) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Select an option from a dropdown by index.
- select(String, int) - Method in interface io.karatelabs.driver.Driver
-
Select an option from a dropdown by index.
- select(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Select an option from a dropdown by text or value.
- select(String, String) - Method in interface io.karatelabs.driver.Driver
-
Select an option from a dropdown by text or value.
- SELECT - Static variable in class io.karatelabs.driver.DriverApi
- selector(String) - Static method in class io.karatelabs.driver.Locators
-
Transform a locator into a JavaScript expression that returns a single element.
- selector(String, String) - Static method in class io.karatelabs.driver.Locators
-
Transform a locator into a JavaScript expression with a context node.
- selectorAll(String) - Static method in class io.karatelabs.driver.Locators
-
Transform a locator into a JavaScript expression that returns all matching elements.
- selectorAll(String, String) - Static method in class io.karatelabs.driver.Locators
-
Transform a locator into a JavaScript expression that returns all matching elements.
- SEMICOLON - Static variable in interface io.karatelabs.driver.Keys
- send() - Method in class io.karatelabs.driver.cdp.CdpMessage
-
Blocking send with response.
- send(byte[]) - Method in class io.karatelabs.http.WsClient
- send(WsFrame) - Method in class io.karatelabs.http.WsClient
- send(String) - Method in class io.karatelabs.http.SseConnection
-
Send an SSE event with data only (no event name).
- send(String) - Method in class io.karatelabs.http.WsClient
- send(String) - Method in class io.karatelabs.http.WsConnection
-
Send a text message.
- send(String, String) - Method in class io.karatelabs.http.SseConnection
-
Send an SSE event with the given event name and data.
- SEND_FAILED - Enum constant in enum class io.karatelabs.http.WsException.Type
- sendAlertText(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- sendAsync() - Method in class io.karatelabs.driver.cdp.CdpMessage
-
Async send.
- sendAsync(WsFrame) - Method in class io.karatelabs.http.WsClient
- sendBytes(byte[]) - Method in class io.karatelabs.http.WsConnection
-
Send a binary message.
- sendComment(String) - Method in class io.karatelabs.http.SseConnection
-
Send an SSE comment (line starting with colon).
- sendKeys(String, String) - Method in class io.karatelabs.driver.w3c.W3cSession
- sendWithoutWaiting() - Method in class io.karatelabs.driver.cdp.CdpMessage
-
Fire and forget - no response expected.
- SEPARATOR - Static variable in interface io.karatelabs.driver.Keys
- serializeFeature(FeatureResult) - Static method in class io.karatelabs.output.CucumberJsonWriter
-
Serialize a feature result to its JSON text.
- serializeFeature(FeatureResult) - Static method in class io.karatelabs.output.JunitXmlWriter
-
Serialize a feature result to its XML text.
- SERVER_LOGGER - Static variable in class io.karatelabs.output.LogContext
-
Logger for embedded HTTP server request/response logs
- ServerConfig - Class in io.karatelabs.http
-
Configuration for the HTTP server including routing, sessions, and security settings.
- ServerConfig() - Constructor for class io.karatelabs.http.ServerConfig
- ServerConfig(String) - Constructor for class io.karatelabs.http.ServerConfig
- serverError() - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a 500 Internal Server Error response.
- ServerMarkupContext - Class in io.karatelabs.http
-
Server-side context exposed to templates and API handlers.
- ServerMarkupContext(HttpRequest, HttpResponse, ServerConfig) - Constructor for class io.karatelabs.http.ServerMarkupContext
- ServerRequestCycle - Class in io.karatelabs.http
-
Per-request lifecycle wrapper that provides isolated Engine instances.
- ServerRequestHandler - Class in io.karatelabs.http
-
Main request handler implementing routing for static files, API endpoints, and HTML templates.
- ServerRequestHandler(ServerConfig, ResourceResolver) - Constructor for class io.karatelabs.http.ServerRequestHandler
- ServerRequestHandler.RedirectException - Exception Class in io.karatelabs.http
-
Exception used internally to signal a redirect.
- Session - Class in io.karatelabs.http
-
Session state carrier.
- Session(String, Map<String, Object>, long, long, long) - Constructor for class io.karatelabs.http.Session
- SESSION_KEY - Static variable in class io.karatelabs.http.CsrfProtection
-
Session key where the CSRF token is stored
- sessionCookieName(String) - Method in class io.karatelabs.http.ServerConfig
- sessionExpirySeconds(int) - Method in class io.karatelabs.http.ServerConfig
- sessionId(String) - Method in class io.karatelabs.driver.cdp.CdpMessage
- sessionSameSite(SameSite) - Method in class io.karatelabs.http.ServerConfig
-
Set the
SameSiteattribute on the session cookie. - sessionStore(SessionStore) - Method in class io.karatelabs.http.ServerConfig
- SessionStore - Interface in io.karatelabs.http
-
Interface for session persistence.
- set(LogContext) - Static method in class io.karatelabs.output.LogContext
- set(String, Object) - Method in class io.karatelabs.common.Json
- set(String, Object) - Method in interface io.karatelabs.markup.MarkupScope
-
Write-side companion to
MarkupScope.lookup(String). - set(String, Object) - Method in class io.karatelabs.markup.MarkupTemplateContext
-
MarkupScopewrite-side. - set(String, String) - Method in class io.karatelabs.common.Json
- SET_COOKIE - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- setAborted(boolean) - Method in class io.karatelabs.core.ScenarioResult
- setAfterScenario(JavaCallable) - Method in class io.karatelabs.core.MockConfig
- setAlgorithm(String) - Method in class io.karatelabs.core.SslConfig
- setAsString(String, String) - Method in class io.karatelabs.common.Json
- setBackground(Background) - Method in class io.karatelabs.gherkin.Feature
- setBeforeScenario(JavaCallable) - Method in class io.karatelabs.core.MockConfig
- setBody(byte[]) - Method in class io.karatelabs.http.HttpRequest
- setBody(byte[], ResourceType) - Method in class io.karatelabs.http.HttpResponse
-
Canonical body setter.
- setBody(String, ResourceType) - Method in class io.karatelabs.http.HttpResponse
-
Convenience overload for
HttpResponse.setBody(byte[], ResourceType)that UTF-8-encodes the supplied String. - setBodyDisplay(String) - Method in class io.karatelabs.http.HttpRequest
- setBodyDynamic(Object) - Method in class io.karatelabs.http.HttpResponse
-
Type-dispatched body assignment for dynamic call sites — mock dispatch and the JS-mock
response.body = ...path. - setCallArg(Object) - Method in class io.karatelabs.core.FeatureResult
- setCallDepth(int) - Method in class io.karatelabs.core.FeatureResult
- setCallerTemplateName(String) - Method in class io.karatelabs.http.ServerMarkupContext
- setCallResults(List<FeatureResult>) - Method in class io.karatelabs.core.StepResult
- setCapture(boolean) - Method in class io.karatelabs.output.LogContext
- setCertPath(String) - Method in class io.karatelabs.core.SslConfig
- setClean(boolean) - Method in class io.karatelabs.core.KaratePom
- setClientAuth(boolean) - Method in class io.karatelabs.core.SslConfig
- setColorsEnabled(boolean) - Static method in class io.karatelabs.output.Console
- setComments(List<String>) - Method in class io.karatelabs.gherkin.Step
- setConfigDir(String) - Method in class io.karatelabs.core.KaratePom
- setConsole(String) - Method in class io.karatelabs.core.KaratePom.LoggingPom
- setContentLength(int) - Method in class io.karatelabs.http.HttpResponse
- setContentType(String) - Method in class io.karatelabs.http.HttpRequest
- setContentType(String) - Method in class io.karatelabs.http.HttpResponse
- setContext(KarateJsContext) - Method in class io.karatelabs.core.KarateJs
- setContextPath(String) - Method in class io.karatelabs.markup.MarkupConfig
- setCookies(List<Map<String, Object>>) - Method in interface io.karatelabs.driver.Driver
-
Bulk-set cookies — convenience over repeated
Driver.cookie(Map)calls. - setCorsEnabled(boolean) - Method in class io.karatelabs.core.MockConfig
- setCucumberJson(boolean) - Method in class io.karatelabs.core.KaratePom.OutputPom
- setDebugSupport(RunInterceptor<T>, DebugPointFactory<T>) - Method in class io.karatelabs.core.ScenarioRuntime
- setDelay(int) - Method in class io.karatelabs.http.HttpResponse
- setDescription(String) - Method in class io.karatelabs.gherkin.Feature
- setDescription(String) - Method in class io.karatelabs.gherkin.Scenario
- setDescription(String) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setDevMode(boolean) - Method in class io.karatelabs.markup.MarkupConfig
- setDevTrace(boolean) - Method in class io.karatelabs.markup.MarkupConfig
- setDimensions(Map<String, Object>) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Set window dimensions and/or position.
- setDimensions(Map<String, Object>) - Method in interface io.karatelabs.driver.Driver
-
Set window dimensions and/or position.
- setDimensions(Map<String, Object>) - Method in class io.karatelabs.driver.w3c.W3cDriver
- setDir(String) - Method in class io.karatelabs.core.KaratePom.OutputPom
- setDocString(String) - Method in class io.karatelabs.gherkin.Step
- setDocStringLine(int) - Method in class io.karatelabs.gherkin.Step
- setDriverFromCallee(ScenarioRuntime) - Method in class io.karatelabs.core.ScenarioRuntime
-
Set driver from a callee feature (upward propagation).
- setDryRun(boolean) - Method in class io.karatelabs.core.KaratePom
- setDryRun(boolean) - Method in class io.karatelabs.core.SuiteResult
- setDynamicExpression(String) - Method in class io.karatelabs.gherkin.Scenario
- setEagerDispatchHook(Consumer<String>) - Method in class io.karatelabs.http.ServerMarkupContext
- setEagerDispatchHook(Consumer<String>) - Method in interface io.karatelabs.markup.ActionDispatchHost
-
Hook installed by the template engine; invoked by the host's
context.actionsview every time a key is set. - setElementTag(IProcessableElementTag) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setEndLine(int) - Method in class io.karatelabs.gherkin.Step
- setEndTime(long) - Method in class io.karatelabs.core.FeatureResult
- setEndTime(long) - Method in class io.karatelabs.core.ScenarioResult
- setEndTime(long) - Method in class io.karatelabs.core.SuiteResult
- setEngine(Engine) - Method in class io.karatelabs.http.ServerMarkupContext
-
Wired by
ServerRequestCycle.createEngine()soServerMarkupContext.setGlobal(String, Object)/ServerMarkupContext.getGlobal(String, Object)can route to the per-request JS engine bindings. - setEngineSupplier(Supplier<Engine>) - Method in class io.karatelabs.markup.MarkupConfig
- setEnv(String) - Method in class io.karatelabs.core.KarateJs
- setEnv(String) - Method in class io.karatelabs.core.KaratePom
- setExampleData(Map<String, Object>) - Method in class io.karatelabs.gherkin.Scenario
- setExamplesTables(List<ExamplesTable>) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setExpires(long) - Method in class io.karatelabs.http.Session
- setFailed(boolean) - Method in class io.karatelabs.core.PerfEvent
- setFileName(String) - Method in class io.karatelabs.core.StepResult.Embed
-
Set by HtmlReportWriter after writing the primary part's bytes to disk.
- setFileName(String) - Method in class io.karatelabs.core.StepResult.Part
- setGlobal(String, Object) - Method in class io.karatelabs.http.ServerMarkupContext
-
Per-request escape hatch for setting JS-engine globals from inside a
ka:scope="local"block. - setHeader(String, String...) - Method in class io.karatelabs.http.HttpResponse
- setHeader(String, List<String>) - Method in class io.karatelabs.http.HttpResponse
- setHeaders(Map<String, ?>) - Method in class io.karatelabs.http.HttpResponse
- setHeaders(Map<String, List<String>>) - Method in class io.karatelabs.http.HttpRequest
- setHiddenVariable(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Set a "hidden" variable that is accessible in JS but excluded from getAllVariables().
- setHtml(boolean) - Method in class io.karatelabs.core.KaratePom.OutputPom
- setHtmlReportEnabled(boolean) - Method in class io.karatelabs.core.SuiteResult
- setHttpClient(HttpClient) - Method in class io.karatelabs.http.HttpRequest
-
Set the
HttpClientused byHttpRequest.proceed(String)to forward this request. - setIndex(int) - Method in class io.karatelabs.gherkin.FeatureSection
- setInliner(IInliner) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setJavaBridgeEnabled(boolean) - Method in class io.karatelabs.core.KarateJs
-
Enable or disable Java interop (
Java.type(...)and reflective dispatch) for this engine. - setJsonLines(boolean) - Method in class io.karatelabs.core.KaratePom.OutputPom
- setJunitXml(boolean) - Method in class io.karatelabs.core.KaratePom.OutputPom
- setKeyPath(String) - Method in class io.karatelabs.core.SslConfig
- setKeyStore(String) - Method in class io.karatelabs.core.SslConfig
- setKeyStorePassword(String) - Method in class io.karatelabs.core.SslConfig
- setKeyStoreType(String) - Method in class io.karatelabs.core.SslConfig
- setKeyword(String) - Method in class io.karatelabs.gherkin.Step
- setLine(int) - Method in class io.karatelabs.gherkin.Background
- setLine(int) - Method in class io.karatelabs.gherkin.ExamplesTable
- setLine(int) - Method in class io.karatelabs.gherkin.Feature
- setLine(int) - Method in class io.karatelabs.gherkin.Scenario
- setLine(int) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setLine(int) - Method in class io.karatelabs.gherkin.Step
- setListenerFactories(List<String>) - Method in class io.karatelabs.core.KaratePom
- setListeners(List<String>) - Method in class io.karatelabs.core.KaratePom
- setListenResult(Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Set the listen result (called by karate.signal()).
- setLog(String) - Method in class io.karatelabs.core.StepResult
- setLogging(KaratePom.LoggingPom) - Method in class io.karatelabs.core.KaratePom
- setLogLevel(LogLevel) - Static method in class io.karatelabs.output.LogContext
-
Set the minimum log level for report capture.
- setLoopIndex(int) - Method in class io.karatelabs.core.FeatureResult
- setLoopIndex(int) - Method in class io.karatelabs.core.FeatureRuntime
- setMarkupScope(MarkupScope) - Method in class io.karatelabs.http.ServerMarkupContext
- setMarkupScope(MarkupScope) - Method in interface io.karatelabs.markup.MarkupContext
-
Set the current-eval scope accessor.
- setMask(LogMask) - Method in class io.karatelabs.output.LogContext
- setMessage(String) - Method in class io.karatelabs.core.PerfEvent
- setMethod(String) - Method in class io.karatelabs.http.HttpRequest
- setMockHandler(MockHandler) - Method in class io.karatelabs.core.KarateJs
- setMockHeaderEnabled(boolean) - Method in class io.karatelabs.core.MockConfig
- setName(String) - Method in class io.karatelabs.gherkin.ExamplesTable
- setName(String) - Method in class io.karatelabs.gherkin.Feature
- setName(String) - Method in class io.karatelabs.gherkin.Scenario
- setName(String) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setOnDoc(Consumer<String>) - Method in class io.karatelabs.core.KarateJs
- setOnMatch(BiConsumer<Context, Result>) - Method in class io.karatelabs.core.KarateJs
- setOutline(ScenarioOutline) - Method in class io.karatelabs.gherkin.ExamplesTable
- setOutput(KaratePom.OutputPom) - Method in class io.karatelabs.core.KaratePom
- setOutput(PrintStream) - Static method in class io.karatelabs.output.Console
- setOutputDir(String) - Method in class io.karatelabs.core.KarateJs
- setParams(Map<String, List<String>>) - Method in class io.karatelabs.http.HttpRequest
- setPath(String) - Method in class io.karatelabs.http.HttpRequest
- setPaths(List<String>) - Method in class io.karatelabs.core.KaratePom
- setPrefix(String) - Method in class io.karatelabs.gherkin.Step
- setPreSubmitHash(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- setPreSubmitHash(String) - Method in interface io.karatelabs.driver.DriverOptions
-
Set the pre-submit hash.
- setPreSubmitHash(String) - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- setPretty(boolean) - Method in class io.karatelabs.output.LogContext
- setPrevRequest(HttpRequest) - Method in class io.karatelabs.core.KarateJs
-
Track the previous HTTP request for karate.prevRequest.
- setPrevResponse(HttpResponse) - Method in class io.karatelabs.core.KarateJs
-
Track the previous HTTP response, used to back karate.response in non-mock context.
- setReport(String) - Method in class io.karatelabs.core.KaratePom.LoggingPom
- setReportDir(Path) - Method in class io.karatelabs.core.SuiteResult
- setReportDisabled(boolean) - Method in class io.karatelabs.core.ScenarioResult
- setRequest(HttpRequest) - Method in class io.karatelabs.http.HttpResponse
- setRequestExpressionsEnabled(boolean) - Method in class io.karatelabs.core.ScenarioRuntime
- setResolver(ResourceResolver) - Method in class io.karatelabs.markup.MarkupConfig
- setResourceResolver(ResourceResolver) - Method in class io.karatelabs.core.KarateJs
- setResourceResolver(Function<String, Resource>) - Method in class io.karatelabs.http.ServerMarkupContext
- setResourceType(ResourceType) - Method in class io.karatelabs.http.HttpResponse
- setResponseHeaders(Map<String, Object>) - Method in class io.karatelabs.core.MockConfig
- setResponseTime(long) - Method in class io.karatelabs.http.HttpResponse
- setResultVariables(Map<String, Object>) - Method in class io.karatelabs.core.FeatureResult
- setRuntimeLogLevel(String) - Static method in class io.karatelabs.output.LogContext
-
Set the runtime log level for SLF4J/Logback.
- setScenario(Scenario) - Method in class io.karatelabs.gherkin.FeatureSection
- setScenarioName(String) - Method in class io.karatelabs.core.KaratePom
- setScenarioOutline(ScenarioOutline) - Method in class io.karatelabs.gherkin.FeatureSection
- setSections(List<FeatureSection>) - Method in class io.karatelabs.gherkin.Feature
- setSelected(Boolean) - Method in class io.karatelabs.gherkin.Scenario
- setSelectionTarget(Object) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setServerMode(boolean) - Method in class io.karatelabs.markup.MarkupConfig
- setSession(Session) - Method in class io.karatelabs.http.ServerMarkupContext
- setSessionId(String) - Method in class io.karatelabs.driver.cdp.CdpClient
-
Set the session ID for subsequent requests.
- setSignalConsumer(Consumer<Object>) - Method in class io.karatelabs.process.ProcessHandle
- setSkipBackground(boolean) - Method in class io.karatelabs.core.ScenarioRuntime
- setStableId(String) - Method in class io.karatelabs.core.ScenarioResult
-
Set by
ScenarioRuntimefrom the live__idvariable before SCENARIO_EXIT fires. - setStartTime(long) - Method in class io.karatelabs.core.FeatureResult
- setStartTime(long) - Method in class io.karatelabs.core.ScenarioResult
- setStartTime(long) - Method in class io.karatelabs.core.SuiteResult
- setStartTime(long) - Method in class io.karatelabs.http.HttpResponse
- setStatus(int) - Method in class io.karatelabs.http.HttpResponse
- setStatus(int, String) - Method in class io.karatelabs.http.HttpResponse
-
Paired status setter — sets status code and reason text atomically.
- setStatusText(String) - Method in class io.karatelabs.http.HttpResponse
- setSteps(List<Step>) - Method in class io.karatelabs.gherkin.Background
- setSteps(List<Step>) - Method in class io.karatelabs.gherkin.Scenario
- setSteps(List<Step>) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setTable(Table) - Method in class io.karatelabs.gherkin.ExamplesTable
- setTable(Table) - Method in class io.karatelabs.gherkin.Step
- setTags(List<Tag>) - Method in class io.karatelabs.gherkin.ExamplesTable
- setTags(List<Tag>) - Method in class io.karatelabs.gherkin.Feature
- setTags(List<Tag>) - Method in class io.karatelabs.gherkin.Scenario
- setTags(List<Tag>) - Method in class io.karatelabs.gherkin.ScenarioOutline
- setTags(List<String>) - Method in class io.karatelabs.core.KaratePom
- setTemplateData(TemplateData) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setTemplateName(String) - Method in class io.karatelabs.http.ServerMarkupContext
- setText(String) - Method in class io.karatelabs.gherkin.Step
- setThreadName(String) - Method in class io.karatelabs.core.ScenarioResult
- setThreads(int) - Method in class io.karatelabs.core.KaratePom
- setTimeout(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions
- setTimeout(int) - Method in interface io.karatelabs.driver.DriverOptions
-
Update the operation timeout in milliseconds.
- setTimeout(int) - Method in class io.karatelabs.driver.w3c.W3cDriverOptions
- setTrustAll(boolean) - Method in class io.karatelabs.core.SslConfig
- setTrustStore(String) - Method in class io.karatelabs.core.SslConfig
- setTrustStorePassword(String) - Method in class io.karatelabs.core.SslConfig
- setTrustStorePath(String) - Method in class io.karatelabs.core.SslConfig
- setTrustStoreType(String) - Method in class io.karatelabs.core.SslConfig
- SETUP - Static variable in class io.karatelabs.gherkin.Tag
- setUpdated(long) - Method in class io.karatelabs.http.Session
- setupOnceCacheStore(Map<String, Map<String, Object>>) - Method in class io.karatelabs.core.Runner.Builder
- setUrl(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
- setUrl(String) - Method in interface io.karatelabs.driver.Driver
-
Navigate to URL and wait for page load.
- setUrl(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- setUrl(String) - Method in class io.karatelabs.http.HttpRequest
- setUrlBase(String) - Method in class io.karatelabs.http.HttpRequest
- setValueAtPath(Object, String, Object) - Static method in class io.karatelabs.core.StepUtils
-
Set a value at a nested path, handling both dot notation and array brackets.
- setVariable(String, Object) - Method in class io.karatelabs.core.ScenarioRuntime
- setVariable(String, Object) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setVariables(Map<String, Object>) - Method in class io.karatelabs.markup.MarkupTemplateContext
- setWindowRect(Map<String, Object>) - Method in class io.karatelabs.driver.w3c.W3cSession
- setWorkingDir(String) - Method in class io.karatelabs.core.KaratePom
- sharedConnectionManager() - Method in class io.karatelabs.http.ApacheHttpClient
-
The connection manager this client should use, or null to build a private one per instance — which is the default and what every functional test wants.
- shellTemplate(String) - Method in class io.karatelabs.http.ServerConfig
-
Set a layout shell template that wraps full-page navigations.
- shift(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- shift(String) - Method in interface io.karatelabs.driver.Keys
-
Press Shift+key combination.
- shift(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- SHIFT - Static variable in interface io.karatelabs.driver.Keys
- shutdown() - Method in interface io.karatelabs.driver.DriverProvider
-
Shutdown the provider and close all managed drivers.
- shutdown() - Method in class io.karatelabs.driver.PooledDriverProvider
- shutdownAll() - Static method in class io.karatelabs.http.HttpServer
- shutdownCallbackExecutor() - Static method in class io.karatelabs.http.WsClient
-
Shut down the callback pool shared by every client that did not supply its own.
- signal(Object) - Method in class io.karatelabs.process.ProcessHandle
- size() - Method in class io.karatelabs.http.InMemorySessionStore
-
Get the current number of sessions in the store.
- size() - Method in class io.karatelabs.match.DiskBackedList
- size() - Method in interface io.karatelabs.match.LargeValueStore
-
Returns the number of elements in this store.
- skipped(Step, long) - Static method in class io.karatelabs.core.StepResult
- skipped(HttpRequest) - Static method in class io.karatelabs.http.HttpResponse
-
Creates a skipped response for when a listener returns false from HTTP_ENTER.
- SKIPPED - Enum constant in enum class io.karatelabs.core.StepResult.Status
- skipTagFiltering - Variable in class io.karatelabs.core.Suite
- skipTagFiltering(boolean) - Method in class io.karatelabs.core.Runner.Builder
-
Skip tag filtering (@env, @ignore) so all scenarios run regardless of tags.
- slot() - Method in record class io.karatelabs.core.ReportAssets.Page
-
Returns the value of the
slotrecord component. - snapshot() - Static method in class io.karatelabs.output.LogContext
- sortScenarioResults() - Method in class io.karatelabs.core.FeatureResult
-
Sort scenario results by section index, example index, and line number.
- source() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns the value of the
sourcerecord component. - source() - Method in record class io.karatelabs.core.OutlineRunEvent
-
Returns the value of the
sourcerecord component. - source() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns the value of the
sourcerecord component. - source() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns the value of the
sourcerecord component. - SPACE - Static variable in interface io.karatelabs.driver.Keys
- splitCallExpr(String) - Static method in class io.karatelabs.core.StepUtils
-
Split a call expression into its callable target and argument, mirroring v1's
parseCallArgs. - splitLog(String) - Static method in class io.karatelabs.output.Console
-
Split a raw report log into ordered segments for the HTML report.
- splitVarAndJsonPath(String) - Static method in class io.karatelabs.core.StepUtils
-
Split an LHS like
body[*].parentinto variablebodyand JsonPath$[*].parent. - SseConnection - Class in io.karatelabs.http
-
Server-Sent Events connection wrapping a Netty channel.
- SseHandler - Interface in io.karatelabs.http
-
Handler for Server-Sent Events (SSE) connections.
- ssl(boolean) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ssl(boolean) - Method in class io.karatelabs.core.MockServer.Builder
-
Enable SSL/TLS.
- SslConfig - Class in io.karatelabs.core
-
SSL/TLS configuration for both client and server contexts.
- SslConfig() - Constructor for class io.karatelabs.core.SslConfig
- sslContext(SslContext) - Method in class io.karatelabs.core.MockServer.Builder
-
Set a custom Netty SslContext (e.g. for mTLS with client auth).
- sslContext(SslContext) - Method in class io.karatelabs.http.WsClientOptions.Builder
- SslContextFactory - Class in io.karatelabs.core
-
Factory for creating SSLContext instances from SslConfig.
- SslContextFactory() - Constructor for class io.karatelabs.core.SslContextFactory
- SslUtils - Class in io.karatelabs.core
-
SSL utilities for creating SSL contexts and self-signed certificates.
- SslUtils() - Constructor for class io.karatelabs.core.SslUtils
- start() - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- start() - Method in class io.karatelabs.core.MockServer.Builder
-
Start the mock server.
- start() - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Launch a new browser with default options.
- start() - Method in class io.karatelabs.http.LocalCallbackServer
-
Start server on random available port
- start() - Method in class io.karatelabs.process.ProcessHandle
-
Start the process.
- start(int) - Method in class io.karatelabs.http.LocalCallbackServer
-
Start server on specific port (0 = random)
- start(int, SslContext, Function<HttpRequest, HttpResponse>) - Static method in class io.karatelabs.http.HttpServer
- start(int, SslContext, Function<HttpRequest, HttpResponse>, SseHandler) - Static method in class io.karatelabs.http.HttpServer
- start(int, SslContext, Function<HttpRequest, HttpResponse>, SseHandler, WsHandler) - Static method in class io.karatelabs.http.HttpServer
- start(int, Function<HttpRequest, HttpResponse>) - Static method in class io.karatelabs.http.HttpServer
- start(int, Function<HttpRequest, HttpResponse>, SseHandler) - Static method in class io.karatelabs.http.HttpServer
- start(int, Function<HttpRequest, HttpResponse>, SseHandler, WsHandler) - Static method in class io.karatelabs.http.HttpServer
- start(CdpDriverOptions) - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Launch a new browser and create driver.
- start(CdpDriverOptions) - Static method in class io.karatelabs.driver.cdp.CdpLauncher
-
Launch Chrome browser and return launcher instance.
- start(ProcessConfig) - Static method in class io.karatelabs.process.ProcessHandle
-
Create and immediately start ProcessHandle.
- start(String, int, Function<HttpRequest, HttpResponse>, SseHandler, WsHandler) - Static method in class io.karatelabs.http.HttpServer
-
Start bound to a specific interface —
host="localhost"/"127.0.0.1"listens on loopback only (not reachable off-box),"0.0.0.0"/null/blank listens on every interface (the historical default). - start(Map<String, Object>) - Static method in class io.karatelabs.driver.w3c.W3cDriver
-
Start a WebDriver from a config map.
- startHeadless() - Static method in class io.karatelabs.driver.cdp.CdpDriver
-
Launch a headless browser.
- staticPrefix(String) - Method in class io.karatelabs.http.ServerConfig
- staticPrefixEnabled(boolean) - Method in class io.karatelabs.http.ServerConfig
- status(int) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create an empty response with just a status code.
- step() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns the value of the
steprecord component. - step(StepResult) - Method in class io.karatelabs.output.LogContext
-
Append a fully-built synthetic step — the escape hatch for full control (a failure message via
StepResult.synthetic(java.lang.String, io.karatelabs.core.StepResult.Status, long, java.lang.Throwable)with aThrowable, a custom log, multi-part embeds). - step(String, boolean) - Method in class io.karatelabs.output.LogContext
-
Append a synthetic step with no embeds (see
LogContext.step(String, boolean, List)). - step(String, boolean, List<StepResult.Embed>) - Method in class io.karatelabs.output.LogContext
-
Append a synthetic step to the scenario currently executing on this thread — symmetric with
LogContext.embed(byte[], java.lang.String, java.lang.String): an out-of-band producer (e.g. running inside an* eval) contributes a real, named step row to the report/JSONL without parsing a.feature. - Step - Class in io.karatelabs.gherkin
- Step(Feature, int) - Constructor for class io.karatelabs.gherkin.Step
- Step(Scenario, int) - Constructor for class io.karatelabs.gherkin.Step
- STEP_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- STEP_EXIT - Enum constant in enum class io.karatelabs.core.RunEventType
- stepBack() - Method in class io.karatelabs.core.ScenarioRuntime
-
Move execution back one step (for debugging).
- StepExecutor - Class in io.karatelabs.core
- StepExecutor(ScenarioRuntime) - Constructor for class io.karatelabs.core.StepExecutor
- stepProceed() - Method in class io.karatelabs.core.ScenarioRuntime
-
Continue execution from current position (after a pause).
- stepReset() - Method in class io.karatelabs.core.ScenarioRuntime
-
Reset to re-execute the current step (for debugging after hot reload).
- StepResult - Class in io.karatelabs.core
- StepResult.Embed - Class in io.karatelabs.core
-
A named report embed, generalised to one-or-more
StepResult.Parts plus optionalmeta(see EXT.md § Embeds). - StepResult.Part - Class in io.karatelabs.core
-
One asset within an
StepResult.Embed: either inlinedata(core writes the file and setsfileName) or a report-relativeurl(the ext wrote the asset itself, e.g. underext/image/assets/). - StepResult.Status - Enum Class in io.karatelabs.core
- StepRunEvent - Record Class in io.karatelabs.core
-
Step-level events (STEP_ENTER, STEP_EXIT).
- StepRunEvent(RunEventType, Step, ScenarioRuntime, StepResult, long) - Constructor for record class io.karatelabs.core.StepRunEvent
-
Creates an instance of a
StepRunEventrecord class. - StepUtils - Class in io.karatelabs.core
-
Static utility methods for step execution.
- StepUtils.CallParts - Record Class in io.karatelabs.core
-
The callable target and (optional) argument expression of a call step, e.g.
- StepUtils.ParsedFeaturePath - Record Class in io.karatelabs.core
-
Parsed result of a feature path with optional tag selector or line filter.
- StepUtils.VarAndPath - Class in io.karatelabs.core
- stop() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
MockServer.stopAndWait()instead. - stop() - Method in class io.karatelabs.core.ScenarioRuntime
- stop() - Method in class io.karatelabs.http.HttpServer
-
Graceful, blocking, idempotent —
HttpServer.stopAndWait()by another name, forKarateLifecycle. - stop() - Method in class io.karatelabs.http.LocalCallbackServer
- stop() - Method in class io.karatelabs.http.WsClient
-
The graceful stop is
WsClient.close()— a close frame to the peer, then the event loop wound down. - stop(boolean) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
-
Keep the browser process alive after the scenario ends (default: true = quit).
- stopAndWait() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- stopAndWait() - Method in class io.karatelabs.core.MockServer
-
Stop the mock server and wait for shutdown to complete (blocking).
- stopAndWait() - Method in class io.karatelabs.http.HttpServer
- stopAndWait() - Method in class io.karatelabs.http.LocalCallbackServer
- stopAsync() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- stopAsync() - Method in class io.karatelabs.core.MockServer
-
Stop the mock server asynchronously (non-blocking).
- stopAsync() - Method in class io.karatelabs.http.HttpServer
- stopAsync() - Method in class io.karatelabs.http.LocalCallbackServer
- stopIntercept() - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Stop request interception.
- stopIntercept() - Method in interface io.karatelabs.driver.Driver
-
Stop request interception.
- stopIntercept() - Method in class io.karatelabs.driver.w3c.W3cDriver
- storeToken(OAuth2Token) - Method in class io.karatelabs.http.OAuth2TokenManager
-
Store new token
- STRICT - Enum constant in enum class io.karatelabs.http.SameSite
- STRING - Enum constant in enum class io.karatelabs.match.Value.Type
- stringify(Object) - Static method in class io.karatelabs.core.StepUtils
-
Convert a value to its string representation
- stringifyStrict(Object) - Static method in class io.karatelabs.common.Json
- stripAnsi(String) - Static method in class io.karatelabs.output.Console
-
Strip ANSI escape codes and body sentinels — everything a plain-text consumer (JUnit XML, Cucumber JSON, JSONL, console mirror) should never see.
- stripSentinels(String) - Static method in class io.karatelabs.output.Console
-
Remove body sentinels but keep ANSI color codes — for the console/SLF4J mirror, which wants the colored body shown but not the invisible markers.
- SUBFOLDER - Static variable in class io.karatelabs.output.CucumberJsonReportListener
- SUBFOLDER - Static variable in class io.karatelabs.output.HtmlReportListener
- SUBFOLDER - Static variable in class io.karatelabs.output.JunitXmlReportListener
- submit() - Method in class io.karatelabs.driver.BaseElement
- submit() - Method in interface io.karatelabs.driver.Driver
-
Mark the next action as triggering a page navigation.
- submit() - Method in interface io.karatelabs.driver.Element
- submit(Runnable) - Method in interface io.karatelabs.core.PerfHook
-
Submit a task for execution in the performance framework's execution model.
- SUBMIT - Static variable in class io.karatelabs.driver.DriverApi
- subProtocol(String) - Method in class io.karatelabs.http.WsClientOptions.Builder
-
The WebSocket subprotocol to negotiate during the handshake (Sec-WebSocket-Protocol).
- SUBTRACT - Static variable in interface io.karatelabs.driver.Keys
- suite() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns the value of the
suiterecord component. - Suite - Class in io.karatelabs.core
-
Immutable suite configuration and execution engine.
- SUITE_ENTER - Enum constant in enum class io.karatelabs.core.RunEventType
- SUITE_EXIT - Enum constant in enum class io.karatelabs.core.RunEventType
- SuiteResult - Class in io.karatelabs.core
- SuiteResult() - Constructor for class io.karatelabs.core.SuiteResult
- SuiteRunEvent - Record Class in io.karatelabs.core
-
Suite-level events (SUITE_ENTER, SUITE_EXIT).
- SuiteRunEvent(RunEventType, Suite, SuiteResult, long) - Constructor for record class io.karatelabs.core.SuiteRunEvent
-
Creates an instance of a
SuiteRunEventrecord class. - summaryJson() - Method in class io.karatelabs.core.SuiteResult
-
The counters alone — no per-feature payload.
- SUPPRESSED_FAILURE_MESSAGE - Static variable in class io.karatelabs.core.ScenarioResult
- SWITCH - Enum constant in enum class io.karatelabs.http.TemplateFlowSignal.Kind
- SWITCH_FRAME - Static variable in class io.karatelabs.driver.DriverApi
- SWITCH_PAGE - Static variable in class io.karatelabs.driver.DriverApi
- switchFrame(int) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Switch to an iframe by index in the frame tree.
- switchFrame(int) - Method in interface io.karatelabs.driver.Driver
-
Switch to an iframe by index.
- switchFrame(int) - Method in class io.karatelabs.driver.w3c.W3cDriver
- switchFrame(Object) - Method in class io.karatelabs.driver.w3c.W3cSession
- switchFrame(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Switch to an iframe by locator (CSS, XPath, or wildcard).
- switchFrame(String) - Method in interface io.karatelabs.driver.Driver
-
Switch to an iframe by locator, or null to return to main frame.
- switchFrame(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- switchPage(int) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Switch to a page by index.
- switchPage(int) - Method in interface io.karatelabs.driver.Driver
-
Switch to a page by index.
- switchPage(int) - Method in class io.karatelabs.driver.w3c.W3cDriver
- switchPage(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Switch to a page by title or URL substring.
- switchPage(String) - Method in interface io.karatelabs.driver.Driver
-
Switch to a page by title or URL substring.
- switchPage(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- switchPageById(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Switch to a page by its backend target ID (unambiguous — avoids URL/title collisions that
CdpDriver.switchPage(String)is vulnerable to). - switchPageById(String) - Method in interface io.karatelabs.driver.Driver
-
Switch to a page by its backend target ID.
- switchTemplate(String) - Method in class io.karatelabs.http.ServerMarkupContext
-
Switch to a different template for rendering.
- switchWindow(String) - Method in class io.karatelabs.driver.w3c.W3cSession
- synthetic(String, StepResult.Status, long, Throwable) - Static method in class io.karatelabs.core.StepResult
-
Create a synthetic step result that an out-of-band producer appends to a scenario at runtime (not parsed from a
.feature). - sysenv(String) - Method in class io.karatelabs.core.BootBinding
-
boot.sysenv('NAME')— read an OS env var; null if unset. - sysenv(String, String) - Method in class io.karatelabs.core.BootBinding
-
boot.sysenv('NAME', 'default')— read an OS env var, falling back todefaultValuewhen unset or empty (shell${VAR:-default}semantics). - sysprop(String) - Method in class io.karatelabs.core.BootBinding
-
boot.sysprop('NAME')— read a JVM system property; null if unset. - sysprop(String, String) - Method in class io.karatelabs.core.BootBinding
-
boot.sysprop('NAME', 'default')— read a JVM system property, falling back todefaultValuewhen unset or empty. - systemProperties - Variable in class io.karatelabs.core.Suite
- systemProperty(String, String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- systemProperty(String, String) - Method in class io.karatelabs.core.Runner.Builder
-
Set a system property that will be available via karate.properties in scripts.
T
- tab(Object) - Method in interface io.karatelabs.driver.CoreDriver
-
Switch to a different tab/page.
- tab(Object) - Method in interface io.karatelabs.driver.Driver
-
Tab switching.
- tab(Object) - Method in class io.karatelabs.driver.w3c.W3cDriver
- TAB - Static variable in interface io.karatelabs.driver.Keys
- Table - Class in io.karatelabs.gherkin
- Table(List<List<String>>, List<Integer>) - Constructor for class io.karatelabs.gherkin.Table
- Tag - Class in io.karatelabs.gherkin
- Tag(int, String) - Constructor for class io.karatelabs.gherkin.Tag
- tags(String...) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- tags(String...) - Method in class io.karatelabs.core.Runner.Builder
-
Set tag filter expressions.
- tags(List<String>) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- tagSelector - Variable in class io.karatelabs.core.Suite
- tagSelector() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns the value of the
tagSelectorrecord component. - TagSelector - Class in io.karatelabs.core
-
Advanced tag selector supporting V1-compatible expressions.
- TagSelector(Collection<Tag>) - Constructor for class io.karatelabs.core.TagSelector
- TagSelector.Values - Class in io.karatelabs.core
-
Values helper class for valuesFor('@tag') functionality.
- tagTexts(List<Tag>) - Static method in class io.karatelabs.core.RunUtils
- TemplateFlowSignal - Exception Class in io.karatelabs.http
-
Signal thrown by
ServerMarkupContext.redirect(String)andServerMarkupContext.switchTemplate(String)to cleanly abort template rendering or API handler evaluation when a redirect or a template switch is requested. - TemplateFlowSignal(TemplateFlowSignal.Kind) - Constructor for exception class io.karatelabs.http.TemplateFlowSignal
- TemplateFlowSignal.Kind - Enum Class in io.karatelabs.http
- templateRoute(String, String) - Method in class io.karatelabs.http.ServerConfig
-
Add a path pattern → template mapping.
- TEMPORARY - Static variable in class io.karatelabs.http.Session
- text() - Method in class io.karatelabs.driver.BaseElement
- text() - Method in interface io.karatelabs.driver.Element
- text() - Method in class io.karatelabs.driver.w3c.W3cElement
- text(int, String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a text response.
- text(int, String) - Static method in class io.karatelabs.http.HttpResponse
-
Status +
text/plain. - text(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the text content of an element.
- text(String) - Method in interface io.karatelabs.driver.Driver
-
Get the text content of an element.
- text(String) - Static method in class io.karatelabs.driver.InterceptResponse
-
Create a text response with 200 OK status.
- text(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- text(String) - Static method in class io.karatelabs.http.HttpResponse
-
200 OK+text/plain. - text(String) - Static method in class io.karatelabs.http.WsFrame
- TEXT - Enum constant in enum class io.karatelabs.http.WsFrame.Type
- TEXT - Static variable in class io.karatelabs.driver.DriverApi
- textJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get text content of an element.
- that(Object) - Static method in class io.karatelabs.match.Match
- threadCount - Variable in class io.karatelabs.core.Suite
- Tier 1: Essential Primitives - Search tag in interface io.karatelabs.driver.CoreDriver
- Section
- Tier 2: Extended Primitives - Search tag in interface io.karatelabs.driver.CoreDriver
- Section
- timeout() - Method in interface io.karatelabs.driver.Driver
-
Get the current operation timeout in milliseconds.
- timeout() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
timeoutrecord component. - timeout(int) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- timeout(int) - Method in interface io.karatelabs.driver.Driver
-
Set the operation timeout in milliseconds for this driver instance.
- timeout(long) - Method in class io.karatelabs.driver.cdp.CdpMessage
- timeout(Duration) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- timeout(Duration) - Method in class io.karatelabs.driver.cdp.CdpMessage
- timeout(Duration) - Method in class io.karatelabs.process.ProcessBuilder
- TIMEOUT - Enum constant in enum class io.karatelabs.http.WsException.Type
- TIMEOUT - Static variable in class io.karatelabs.driver.DriverApi
- timeoutMillis(long) - Method in class io.karatelabs.process.ProcessBuilder
- timeStamp() - Method in record class io.karatelabs.core.ErrorRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.OutlineRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns the value of the
timeStamprecord component. - timeStamp() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns the value of the
timeStamprecord component. - title() - Method in record class io.karatelabs.core.ReportAssets.Page
-
Returns the value of the
titlerecord component. - TITLE - Static variable in class io.karatelabs.driver.DriverApi
- to(String) - Static method in class io.karatelabs.http.Http
- toBlockData() - Method in class io.karatelabs.http.HttpRequest
- toBytes(Object) - Static method in class io.karatelabs.common.Json
- toCsv(List<Map<String, Object>>) - Static method in class io.karatelabs.common.DataUtils
- toCurlArgument(String) - Method in interface io.karatelabs.http.AuthHandler
-
Returns the curl command argument for this auth handler, or null to use the default behavior (including the Authorization header).
- toCurlArgument(String) - Method in class io.karatelabs.http.BasicAuthHandler
- toCurlCommand() - Method in class io.karatelabs.http.HttpRequestBuilder
- toCurlCommand() - Method in class io.karatelabs.http.MultiPartBuilder
- toCurlCommand(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- toCurlCommand(String) - Method in class io.karatelabs.http.MultiPartBuilder
- toCurlCommandPreview() - Method in class io.karatelabs.http.HttpRequestBuilder
-
Generate curl command preview without side effects (no network calls).
- toCurlCommandPreview(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- toCurlPreview(String) - Method in interface io.karatelabs.http.AuthHandler
-
Returns the curl preview for this auth handler (without triggering side effects).
- toCurlPreview(String) - Method in class io.karatelabs.http.AuthorizationCodeAuthHandler
- toCurlPreview(String) - Method in class io.karatelabs.http.ClientCredentialsAuthHandler
- toFunction(Object) - Static method in class io.karatelabs.driver.Locators
-
Convert shorthand expression to a function.
- toHttpRequestBuilder(HttpClient) - Method in class io.karatelabs.http.HttpRequest
- toJson() - Method in record class io.karatelabs.core.ErrorRunEvent
- toJson() - Method in class io.karatelabs.core.FeatureResult
-
Convert to JSON format.
- toJson() - Method in record class io.karatelabs.core.FeatureRunEvent
- toJson() - Method in record class io.karatelabs.core.HttpRunEvent
- toJson() - Method in record class io.karatelabs.core.OutlineRunEvent
- toJson() - Method in record class io.karatelabs.core.ProgressRunEvent
- toJson() - Method in interface io.karatelabs.core.RunEvent
-
Serializes this event to a map for JSONL output.
- toJson() - Method in class io.karatelabs.core.ScenarioResult
-
Convert to JSON format.
- toJson() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Serializes a thin per-scenario envelope: identity (feature path, slug, line, refId), name, description, tags, and (on EXIT) pass/fail + duration.
- toJson() - Method in class io.karatelabs.core.StepResult
-
Convert to JSON format (V1 nested structure).
- toJson() - Method in record class io.karatelabs.core.StepRunEvent
- toJson() - Method in class io.karatelabs.core.SuiteResult
- toJson() - Method in record class io.karatelabs.core.SuiteRunEvent
- toJson() - Method in class io.karatelabs.driver.cdp.CdpMessage
-
Convert to JSON string.
- toJson() - Method in class io.karatelabs.gherkin.ExamplesTable
- toJson() - Method in class io.karatelabs.gherkin.Step
- toJson() - Method in class io.karatelabs.gherkin.Table
- toJson(Object) - Method in class io.karatelabs.http.ServerMarkupContext
- toJson(Object) - Method in interface io.karatelabs.markup.MarkupContext
-
Serialize an object to JSON string.
- toJsonPretty() - Method in class io.karatelabs.core.SuiteResult
- toJsonString() - Method in class io.karatelabs.core.SuiteResult
- tokenize(String) - Static method in class io.karatelabs.process.ProcessBuilder
-
Tokenize a command line string into arguments.
- toMap() - Method in class io.karatelabs.core.StepResult.Embed
- toMap() - Method in class io.karatelabs.driver.cdp.CdpMessage
-
Convert to CDP JSON map.
- toMap() - Method in class io.karatelabs.http.CsrfProtection.CsrfToken
- toMap() - Method in class io.karatelabs.http.HttpRequest
- toMap() - Method in class io.karatelabs.http.HttpResponse
- toMap() - Method in class io.karatelabs.http.Session
- toMap() - Method in record class io.karatelabs.match.Result.Failure
- toMap() - Method in class io.karatelabs.match.Result
- toMap(Cookie) - Static method in class io.karatelabs.http.Cookies
- toParentAndLeaf(String) - Static method in class io.karatelabs.common.Json
- toScenario(String, int, int, List<Tag>) - Method in class io.karatelabs.gherkin.ScenarioOutline
- toString() - Method in class io.karatelabs.common.Json
- toString() - Method in record class io.karatelabs.core.ErrorRunEvent
-
Returns a string representation of this record class.
- toString() - Method in class io.karatelabs.core.FeatureCall
- toString() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.OutlineRunEvent
-
Returns a string representation of this record class.
- toString() - Method in class io.karatelabs.core.PerfEvent
- toString() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.ReportAssets.Page
-
Returns a string representation of this record class.
- toString() - Method in class io.karatelabs.core.Runner.Builder
- toString() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.StepUtils.CallParts
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.StepUtils.ParsedFeaturePath
-
Returns a string representation of this record class.
- toString() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns a string representation of this record class.
- toString() - Method in class io.karatelabs.core.TagSelector
- toString() - Method in class io.karatelabs.driver.BaseElement
- toString() - Method in class io.karatelabs.driver.cdp.CdpDialog
- toString() - Method in class io.karatelabs.driver.cdp.CdpEvent
- toString() - Method in class io.karatelabs.driver.cdp.CdpMessage
- toString() - Method in class io.karatelabs.driver.cdp.CdpResponse
- toString() - Method in class io.karatelabs.driver.InterceptRequest
- toString() - Method in class io.karatelabs.driver.w3c.W3cElement
- toString() - Method in class io.karatelabs.gherkin.Background
- toString() - Method in class io.karatelabs.gherkin.Feature
- toString() - Method in class io.karatelabs.gherkin.MatchExpression
- toString() - Method in class io.karatelabs.gherkin.Scenario
- toString() - Method in class io.karatelabs.gherkin.Step
- toString() - Method in class io.karatelabs.gherkin.Table
- toString() - Method in class io.karatelabs.gherkin.Tag
- toString() - Method in class io.karatelabs.http.HttpRequest
- toString() - Method in class io.karatelabs.http.ServerConfig
- toString() - Method in class io.karatelabs.http.Session
- toString() - Method in exception class io.karatelabs.http.WsException
- toString() - Method in class io.karatelabs.http.WsFrame
- toString() - Method in record class io.karatelabs.match.Result.Failure
-
Returns a string representation of this record class.
- toString() - Method in class io.karatelabs.match.Result
- toString() - Method in class io.karatelabs.match.Value
- toString() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns a string representation of this record class.
- toString(boolean, boolean, boolean) - Method in class io.karatelabs.common.Json
- toStringPretty() - Method in class io.karatelabs.common.Json
- toSuiteResult() - Method in class com.intuit.karate.Results
-
Deprecated.Get the underlying v2 SuiteResult for gradual migration.
- total() - Method in record class io.karatelabs.core.ProgressRunEvent
-
Returns the value of the
totalrecord component. - toV2Builder() - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated.Get the underlying v2 Builder for gradual migration.
- toV2Builder() - Method in class com.intuit.karate.Runner.Builder
-
Deprecated.Get the underlying v2 Builder for gradual migration.
- toV2MockServer() - Method in class com.intuit.karate.core.MockServer
-
Deprecated.Get the underlying v2 MockServer for gradual migration.
- toVars() - Method in class io.karatelabs.http.ServerMarkupContext
-
Build the standard variables map for template rendering.
- trace(String) - Method in class io.karatelabs.output.LogContext.LogWriter
- TRACE - Enum constant in enum class io.karatelabs.http.HttpUtils.Method
- TRACE - Enum constant in enum class io.karatelabs.output.LogLevel
- TRANSFER_ENCODING - Enum constant in enum class io.karatelabs.http.HttpUtils.Header
- trustAll() - Static method in class io.karatelabs.core.SslConfig
-
Create a trust-all configuration (for self-signed certificates).
- trustAllCerts(boolean) - Method in class io.karatelabs.http.WsClientOptions.Builder
- type() - Method in record class io.karatelabs.core.FeatureRunEvent
-
Returns the value of the
typerecord component. - type() - Method in record class io.karatelabs.core.HttpRunEvent
-
Returns the value of the
typerecord component. - type() - Method in record class io.karatelabs.core.ScenarioRunEvent
-
Returns the value of the
typerecord component. - type() - Method in record class io.karatelabs.core.StepRunEvent
-
Returns the value of the
typerecord component. - type() - Method in record class io.karatelabs.core.SuiteRunEvent
-
Returns the value of the
typerecord component. - type(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- type(String) - Method in interface io.karatelabs.driver.Keys
-
Type a sequence of characters.
- type(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- TYPE - Static variable in class io.karatelabs.gherkin.Background
U
- up() - Method in class io.karatelabs.driver.cdp.CdpMouse
- up() - Method in interface io.karatelabs.driver.Mouse
-
Release the mouse button at the current position.
- up() - Method in class io.karatelabs.driver.w3c.W3cMouse
- up(String) - Method in class io.karatelabs.driver.cdp.CdpKeys
- up(String) - Method in interface io.karatelabs.driver.Keys
-
Release a modifier key.
- up(String) - Method in class io.karatelabs.driver.w3c.W3cKeys
- UP - Static variable in interface io.karatelabs.driver.Keys
- updateCookieJar(Object) - Method in class io.karatelabs.core.ScenarioRuntime
-
Add cookies from responseCookies to the cookie jar for auto-send.
- url(String) - Method in class io.karatelabs.http.Http
- url(String) - Method in class io.karatelabs.http.HttpRequestBuilder
- URL - Static variable in class io.karatelabs.driver.DriverApi
- urlBase - Variable in class io.karatelabs.http.Http
- urlContains(String) - Method in class io.karatelabs.driver.InterceptRequest
-
Check if the URL contains the given substring.
- urlMatches(String) - Method in class io.karatelabs.driver.InterceptRequest
-
Check if the URL matches the given pattern (supports * wildcards).
- userAgent(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- userDataDir(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- useShell() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
useShellrecord component. - useShell(boolean) - Method in class io.karatelabs.process.ProcessBuilder
- uuid() - Method in class io.karatelabs.http.ServerMarkupContext
-
Generate a new UUID string.
V
- validate(HttpRequest, Session) - Static method in class io.karatelabs.http.CsrfProtection
-
Validate a CSRF token from a request against the session token.
- validate(String) - Static method in class io.karatelabs.http.PathSecurity
-
Validate a path and throw an exception if unsafe.
- Validators - Class in io.karatelabs.match
- Validators() - Constructor for class io.karatelabs.match.Validators
- value - Variable in enum class io.karatelabs.output.LogLevel
- value() - Method in class io.karatelabs.common.Json
- value() - Method in class io.karatelabs.driver.BaseElement
- value() - Method in interface io.karatelabs.driver.Element
- value(String) - Method in class io.karatelabs.driver.BaseElement
- value(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Get the value of an input element.
- value(String) - Method in interface io.karatelabs.driver.Driver
-
Get the value of an input element.
- value(String) - Method in interface io.karatelabs.driver.Element
- value(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- value(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Set the value of an input element.
- value(String, String) - Method in interface io.karatelabs.driver.Driver
-
Set the value of an input element directly.
- Value - Class in io.karatelabs.match
- VALUE - Static variable in class io.karatelabs.driver.DriverApi
- VALUE - Static variable in class io.karatelabs.http.Cookies
- Value.Type - Enum Class in io.karatelabs.match
- valueJs(String) - Static method in class io.karatelabs.driver.Locators
-
Generate JS to get the value of an input element.
- valueOf(String) - Static method in enum class io.karatelabs.core.RunEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.core.StepResult.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.driver.Finder.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.driver.PageLoadStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.driver.w3c.W3cBrowserType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.HttpUtils.Header
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.HttpUtils.Method
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.SameSite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.TemplateFlowSignal.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.WsException.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.http.WsFrame.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.match.Match.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.match.Value.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.karatelabs.output.LogLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.karatelabs.core.RunEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.core.StepResult.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.driver.Finder.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.driver.PageLoadStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.driver.w3c.W3cBrowserType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.HttpUtils.Header
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.HttpUtils.Method
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.SameSite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.TemplateFlowSignal.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.WsException.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.http.WsFrame.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.match.Match.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.match.Value.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.karatelabs.output.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Values(List<String>) - Constructor for class io.karatelabs.core.TagSelector.Values
- valuesFor(String) - Method in class io.karatelabs.core.TagSelector
- var - Variable in class io.karatelabs.core.StepUtils.VarAndPath
W
- W3cBrowserType - Enum Class in io.karatelabs.driver.w3c
-
Enum-driven configuration for all W3C WebDriver browser types.
- W3cDriver - Class in io.karatelabs.driver.w3c
-
W3C WebDriver protocol driver implementation.
- W3cDriverOptions - Class in io.karatelabs.driver.w3c
-
W3C WebDriver configuration options.
- W3cElement - Class in io.karatelabs.driver.w3c
-
W3C WebDriver Element implementation that holds a W3C element ID.
- W3cElement(Driver, String, boolean, String, W3cSession) - Constructor for class io.karatelabs.driver.w3c.W3cElement
- W3cKeys - Class in io.karatelabs.driver.w3c
-
W3C WebDriver Actions API keyboard input implementation.
- W3cMouse - Class in io.karatelabs.driver.w3c
-
W3C-based implementation of mouse actions.
- W3cMouse(W3cSession) - Constructor for class io.karatelabs.driver.w3c.W3cMouse
- W3cMouse(W3cSession, double, double) - Constructor for class io.karatelabs.driver.w3c.W3cMouse
- W3cSession - Class in io.karatelabs.driver.w3c
-
W3C WebDriver HTTP session client.
- WAIT_FOR - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_FOR_ANY - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_FOR_ENABLED - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_FOR_RESULT_COUNT - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_FOR_TEXT - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_FOR_URL - Static variable in class io.karatelabs.driver.DriverApi
- WAIT_UNTIL - Static variable in class io.karatelabs.driver.DriverApi
- waitFor() - Method in class io.karatelabs.driver.BaseElement
- waitFor() - Method in interface io.karatelabs.driver.Element
- waitFor(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to exist.
- waitFor(String) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to exist.
- waitFor(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitFor(String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to exist with custom timeout.
- waitFor(String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to exist with custom timeout.
- waitFor(String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForAny(String[]) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for any of the locators to match.
- waitForAny(String[]) - Method in interface io.karatelabs.driver.Driver
-
Wait for any of the locators to match.
- waitForAny(String[]) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForAny(String[], Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for any of the locators to match with custom timeout.
- waitForAny(String[], Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for any of the locators to match with custom timeout.
- waitForAny(String[], Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForAny(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for any of the locators to match.
- waitForAny(String, String) - Method in interface io.karatelabs.driver.Driver
-
Wait for any of the locators to match.
- waitForAny(String, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForEnabled() - Method in class io.karatelabs.driver.BaseElement
- waitForEnabled() - Method in interface io.karatelabs.driver.Element
- waitForEnabled(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to be enabled.
- waitForEnabled(String) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to be enabled.
- waitForEnabled(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForEnabled(String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to be enabled with custom timeout.
- waitForEnabled(String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to be enabled with custom timeout.
- waitForEnabled(String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForHttp(String, int, int) - Method in class io.karatelabs.process.ProcessHandle
- waitForHttp(String, int, int, BooleanSupplier) - Static method in class io.karatelabs.process.PortUtils
-
Wait for an HTTP endpoint to return 200.
- waitForListenResult(long) - Method in class io.karatelabs.core.ScenarioRuntime
-
Wait for a signal with timeout.
- waitForOutput(Predicate<String>) - Method in class io.karatelabs.process.ProcessHandle
-
Wait until predicate returns true for an output line.
- waitForOutput(Predicate<String>, long) - Method in class io.karatelabs.process.ProcessHandle
-
Wait until predicate returns true for an output line, with timeout.
- waitForPageLoad(PageLoadStrategy) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for page to load based on strategy.
- waitForPageLoad(PageLoadStrategy) - Method in interface io.karatelabs.driver.Driver
-
Wait for page to load based on strategy.
- waitForPageLoad(PageLoadStrategy) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForPageLoad(PageLoadStrategy, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for page to load with custom timeout.
- waitForPageLoad(PageLoadStrategy, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for page to load with custom timeout.
- waitForPageLoad(PageLoadStrategy, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForPort(String, int, int, int) - Method in class io.karatelabs.process.ProcessHandle
- waitForPort(String, int, int, int, BooleanSupplier) - Static method in class io.karatelabs.process.PortUtils
-
Wait for a TCP port to become available.
- waitForResultCount(String, int) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for a specific number of elements to match.
- waitForResultCount(String, int) - Method in interface io.karatelabs.driver.Driver
-
Wait for a specific number of elements to match.
- waitForResultCount(String, int) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForResultCount(String, int, String) - Method in interface io.karatelabs.driver.Driver
-
Wait until
Driver.scriptAll(String, Object)returns exactlycountresults when run against the supplied JS expression on each matched element. - waitForResultCount(String, int, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for a specific number of elements to match with custom timeout.
- waitForResultCount(String, int, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for a specific number of elements to match with custom timeout.
- waitForResultCount(String, int, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForText(String) - Method in class io.karatelabs.driver.BaseElement
- waitForText(String) - Method in interface io.karatelabs.driver.Element
- waitForText(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to contain specific text.
- waitForText(String, String) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to contain specific text.
- waitForText(String, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForText(String, String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for an element to contain specific text with custom timeout.
- waitForText(String, String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for an element to contain specific text with custom timeout.
- waitForText(String, String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForUrl(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for URL to contain expected string.
- waitForUrl(String) - Method in interface io.karatelabs.driver.Driver
-
Wait for URL to contain expected string.
- waitForUrl(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitForUrl(String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait for URL to contain expected string with custom timeout.
- waitForUrl(String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait for URL to contain expected string with custom timeout.
- waitForUrl(String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitIfSubmitRequested() - Method in interface io.karatelabs.driver.Driver
-
If submit() was called, wait for the document to change after running the action.
- waitSync() - Method in class com.intuit.karate.core.MockServer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- waitSync() - Method in class io.karatelabs.core.MockServer
-
Wait for the server to be stopped (blocking).
- waitSync() - Method in class io.karatelabs.http.HttpServer
- waitSync() - Method in class io.karatelabs.http.WsClient
- waitSync() - Method in class io.karatelabs.process.ProcessHandle
- waitSync(long) - Method in class io.karatelabs.process.ProcessHandle
- waitUntil(String) - Method in class io.karatelabs.driver.BaseElement
- waitUntil(String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a JavaScript expression evaluates to truthy.
- waitUntil(String) - Method in interface io.karatelabs.driver.Driver
-
Wait until a JavaScript expression evaluates to truthy.
- waitUntil(String) - Method in interface io.karatelabs.driver.Element
- waitUntil(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntil(String, String) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a JavaScript expression on an element evaluates to truthy.
- waitUntil(String, String) - Method in interface io.karatelabs.driver.Driver
-
Wait until a JavaScript expression on an element evaluates to truthy.
- waitUntil(String, String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntil(String, String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a JavaScript expression on an element evaluates to truthy.
- waitUntil(String, String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait until a JavaScript expression on an element evaluates to truthy.
- waitUntil(String, String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntil(String, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a JavaScript expression evaluates to truthy with custom timeout.
- waitUntil(String, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait until a JavaScript expression evaluates to truthy with custom timeout.
- waitUntil(String, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntil(Supplier<Object>) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a supplier returns a truthy value.
- waitUntil(Supplier<Object>) - Method in interface io.karatelabs.driver.Driver
-
Wait until a supplier returns a truthy value.
- waitUntil(Supplier<Object>) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntil(Supplier<Object>, Duration) - Method in class io.karatelabs.driver.cdp.CdpDriver
-
Wait until a supplier returns a truthy value with custom timeout.
- waitUntil(Supplier<Object>, Duration) - Method in interface io.karatelabs.driver.Driver
-
Wait until a supplier returns a truthy value with custom timeout.
- waitUntil(Supplier<Object>, Duration) - Method in class io.karatelabs.driver.w3c.W3cDriver
- waitUntilReady() - Method in class io.karatelabs.driver.cdp.CdpDriver
- waitUntilReady() - Method in interface io.karatelabs.driver.Driver
-
Block until the driver is ready to accept calls (execution context live), or the configured timeout elapses.
- warn(String) - Static method in class io.karatelabs.output.Console
- warn(String) - Method in class io.karatelabs.output.LogContext.LogWriter
- WARN - Enum constant in enum class io.karatelabs.output.LogLevel
- wasExplicitlyClosed() - Method in class io.karatelabs.http.ServerMarkupContext
-
True iff
ServerMarkupContext.close()was explicitly called this request — distinct from the broaderServerMarkupContext.isClosed()which also returns true when there was never a session to begin with. - watch(boolean) - Method in class com.intuit.karate.core.MockServer.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- watch(boolean) - Method in class io.karatelabs.core.MockServer.Builder
-
Enable watch mode for hot-reloading feature files when they change.
- webSocketUrl(String) - Method in class io.karatelabs.driver.cdp.CdpDriverOptions.Builder
- wheel(double, double) - Method in class io.karatelabs.driver.cdp.CdpMouse
- wheel(double, double) - Method in interface io.karatelabs.driver.Mouse
-
Perform a mouse wheel scroll.
- wheel(double, double) - Method in class io.karatelabs.driver.w3c.W3cMouse
- WHITE - Static variable in class io.karatelabs.output.Console
- window(String) - Method in interface io.karatelabs.driver.CoreDriver
-
Perform window management operation.
- window(String) - Method in interface io.karatelabs.driver.Driver
-
Window management.
- window(String) - Method in class io.karatelabs.driver.w3c.W3cDriver
- with(Logger) - Static method in class io.karatelabs.output.LogContext
-
Create a LogWriter that captures to the thread-local LogContext AND cascades to SLF4J.
- within(double) - Method in class io.karatelabs.driver.Finder
-
Set the tolerance for "near" matching.
- within(Object) - Method in class io.karatelabs.match.Value
- WITHIN - Enum constant in enum class io.karatelabs.match.Match.Type
- workingDir - Variable in class io.karatelabs.core.Suite
- workingDir() - Method in record class io.karatelabs.process.ProcessConfig
-
Returns the value of the
workingDirrecord component. - workingDir(String) - Method in class com.intuit.karate.Runner.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- workingDir(String) - Method in class io.karatelabs.core.Runner.Builder
-
Set the working directory for relative path resolution.
- workingDir(String) - Method in class io.karatelabs.process.ProcessBuilder
- workingDir(Path) - Method in class io.karatelabs.core.Runner.Builder
-
Set the working directory for relative path resolution.
- workingDir(Path) - Method in class io.karatelabs.process.ProcessBuilder
- WRAP - Static variable in class io.karatelabs.http.Cookies
- wrapInFunctionInvoke(String) - Static method in class io.karatelabs.driver.Locators
-
Wrap JavaScript in an IIFE (Immediately Invoked Function Expression).
- wrapWithShell(List<String>) - Static method in class io.karatelabs.process.ProcessBuilder
-
Wrap command with shell for shell features (pipes, env expansion, etc.)
- write(SuiteResult, Path, String) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Generate HTML reports from a SuiteResult.
- writeFeature(FeatureResult, Path) - Static method in class io.karatelabs.output.CucumberJsonWriter
- writeFeature(FeatureResult, Path) - Static method in class io.karatelabs.output.JunitXmlWriter
- writeFeatureHtml(FeatureResult, Path) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Write a single feature HTML report.
- writeFeatureHtml(FeatureResult, Path, Map<String, ReportAssets>) - Static method in class io.karatelabs.output.HtmlReportWriter
- writeSerialized(String, String, Path) - Static method in class io.karatelabs.output.CucumberJsonWriter
-
Write pre-serialized content.
- writeSerialized(String, String, Path) - Static method in class io.karatelabs.output.JunitXmlWriter
-
Write pre-serialized content.
- writeSummaryPages(List<Map<String, Object>>, SuiteResult, Path, String) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Write summary pages (summary, index) from feature maps.
- writeSummaryPages(List<Map<String, Object>>, SuiteResult, Path, String, Map<String, ReportAssets>) - Static method in class io.karatelabs.output.HtmlReportWriter
- writeSummaryPages(List<Map<String, Object>>, SuiteResult, Path, String, Map<String, ReportAssets>, List<Map<String, Object>>) - Static method in class io.karatelabs.output.HtmlReportWriter
- writeTimelineHtml(List<Map<String, Object>>, SuiteResult, Path, String, int) - Static method in class io.karatelabs.output.HtmlReportWriter
-
Write the timeline HTML page showing scenario execution across threads.
- writeTimelineHtml(List<Map<String, Object>>, SuiteResult, Path, String, int, Map<String, ReportAssets>) - Static method in class io.karatelabs.output.HtmlReportWriter
- WsClient - Class in io.karatelabs.http
-
Protocol-agnostic WebSocket client built on Netty.
- WsClientHandler - Class in io.karatelabs.http
-
Netty handler for WebSocket client connections.
- WsClientHandler(WsClient, WebSocketClientHandshaker) - Constructor for class io.karatelabs.http.WsClientHandler
- WsClientOptions - Class in io.karatelabs.http
-
Configuration for WebSocket client connections using builder pattern.
- WsClientOptions.Builder - Class in io.karatelabs.http
- WsConnection - Class in io.karatelabs.http
-
WebSocket connection wrapping a Netty channel.
- WsException - Exception Class in io.karatelabs.http
-
Exception type for WebSocket errors with cause differentiation.
- WsException(WsException.Type, String) - Constructor for exception class io.karatelabs.http.WsException
- WsException(WsException.Type, String, Throwable) - Constructor for exception class io.karatelabs.http.WsException
- WsException.Type - Enum Class in io.karatelabs.http
- WsFrame - Class in io.karatelabs.http
-
Immutable wrapper for WebSocket frames (text, binary, control frames).
- WsFrame.Type - Enum Class in io.karatelabs.http
- WsHandler - Interface in io.karatelabs.http
-
Handler for WebSocket upgrade requests.
X
- xFrameOptions(String) - Method in class io.karatelabs.http.ServerConfig
- xml(String) - Static method in class io.karatelabs.http.HttpResponse
-
200 OK+application/xml. - XML - Enum constant in enum class io.karatelabs.match.Value.Type
Y
- yellow(String) - Static method in class io.karatelabs.output.Console
- YELLOW - Static variable in class io.karatelabs.output.Console
Z
- ZERO_BYTES - Static variable in class io.karatelabs.http.HttpUtils
_
- _equals(Object) - Method in class io.karatelabs.match.Value
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
arg(Map.of(key, value))instead.