Add sync kernel readiness framework with Selenium implementation and default policies #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Description
Intent,SyncKernel,WaitTargetvariants,WaitOptions,WaitResult,SyncDiagnostics, andGateStatusunderjava/src/org/openqa/selenium/locator/syncto define the public surface.sync/policyincludingReadinessProfile,QuietWindows,ConsolePolicy,NetworkPolicy,StabilityPolicy,NavMode, and aDefaultSyncPolicywith intent-specific profiles and timeouts.DefaultSyncKerneland factorySeleniumSyncKernelFactorywith gate evaluators, probes, and navigation-mode handling insync/selenium/impl, includingDocumentReadyGate,UrlStableGate,NetworkQuietGate,ConsoleCleanGate,GlobalAnimationsQuietGate,TargetStableGate,RouteEventSeenGate,DomTokenStableGate, JS probes (JsReadyStateProbe,JsDomTokenProbe,JsHistoryHook), and aSyncDiagnosticsBuilderfor bounded diagnostics.SyncTimeoutException, andapplyWaitOptions/JS-fallback augmentation logic so post-action waits are stricter when JS fallbacks are used.java/test/org/openqa/selenium/locator/syncand register them in theSmallTestssuite, and add user-journey documentation (java/docs/locator-sync-user-journey.md) plus a small update tolocator-engine-user-journey.md.Testing
java/test/org/openqa/selenium/locator/sync/and wired them into theSmallTestssuite, but the full test suite was not executed in this environment.bazel test //java/test/org/openqa/selenium:SmallTestsbut the run could not complete because Bazel could not be downloaded in this environment (download forbidden), so tests were not run to completion.rake lintas part of verification and it failed in this environment due to a missing Ruby dependency (net/telnet), so linting could not be completed here.Codex Task