Find in Page

Find in Page

在真實文件中驗證搜尋行為

Find in Page 測試實驗室

開啟 Find in Page,輸入各情境顯示的查詢詞,並對照預期結果。每個測試夾具都彼此獨立且可重複執行。

自動能力報告

一鍵執行所有測試

每項自動檢查都會顯示在真實搜尋面板中,並由結構化斷言驗證正式搜尋核心。

尚未執行。

總計0
通過0
失敗0
人工0
略過0
測試分類狀態詳細資料耗時
執行測試套件以產生本機能力報告。

比對

Confirm how literal text, options, expressions, and text-flow boundaries change the result set.

Case sensitivity

Query
Options
Default, then Match case
Expected
7 matches by default, including closed roots and two frame fixtures; 1 with Match case

Signal signal SIGNAL

Unicode whole word

Query
Options
Match whole word
Expected
2 matches

orbit orbital re-orbit _orbit

Regular expression

Query
Options
Use regular expression
Expected
2 matches

test-1, tast-2, and test-A are separate instrument labels.

Invalid expression

Query
Options
Use regular expression
Expected
An inline error and no stale highlights

This fixture remains visible while the invalid pattern is reported.

Inline text flow

Query
Options
Default
Expected
1 match across adjacent inline elements

Follow the silver thread through this sentence.

Explicit boundaries

Query
Options
Default
Expected
0 matches across block boundaries

north

south

A line break also ends a flow: east
west.

頁面結構

Exercise composed documents and navigation through nested scrolling contexts.

Light and Shadow DOM

Query
Options
Default
Expected
2 matches

A light beacon appears in the ordinary document.

Shadow root inline content

Query
Options
Default
Expected
1 match in the root-level inline fixture

Closed Shadow DOM

Query
Options
Default
Expected
1 match while host.shadowRoot remains null
The host must continue to report shadowRoot as null.

Closed Shadow DOM before demo initialization

Query
Options
Default
Expected
1 match while host.shadowRoot remains null
The closed root is created before the demo initializes.

Same-origin nested frames

Query
Options
Default
Expected
2 matches across two iframe documents

Visibility filtering

Query
Options
Default
Expected
1 visible match

A concealed comet is visible in this control sample.

Nested scroll containers

Query
Options
Default
Expected
1 match; selection reveals both scroll positions
The deep anchor waits at the end of both scroll regions.

表單控制項

Search live control values while preserving each native field and its editing behavior.

Query
Options
Default
Expected
6 matches, one in each supported control

動態內容

Change the document while the panel is open and confirm results refresh without manual reopening.

Mutation refresh

Query
Options
Default
Expected
0 initially; 1 after Add; 0 after Update or Remove
No dynamic sample is mounted.

Large progressive result set

Query
Options
Default
Expected
800 matches after Generate; the page remains responsive
The large fixture is not mounted.

鍵盤導覽

The website demo and installed extension use the same keyboard contract.

ShortcutExpected behavior
Command/Ctrl + FOpen or focus the search field; press again while focused to close.
Command/Ctrl + GOpen if needed and move to the next result.
Command/Ctrl + Shift + GOpen if needed and move to the previous result.
Command/Ctrl + ESearch selected page text while the panel is open.
EnterRun a pending search or move to the next result.
Arrow Up / Arrow DownMove to the previous or next result.
EscapeClose Search options first, then close the panel.

Selection test: highlight the phrase selected spectrum, open the panel, then press Command/Ctrl + E.

已知邊界

These fixtures are intentionally outside the searchable surface. Zero results is the expected outcome.

Opaque-origin iframe

Expected: 0 matches for

Password and number controls

Expected: 0 matches for

Painted pixels

Expected: 0 matches for

Image content

Expected: 0 matches for

Product artwork used as a non-text search boundary

Standalone audio document

Expected: 0 matches for

Open the fixture as its own browser document, then verify the browser retains its native find shortcut.

Open standalone audio fixture

Unmounted virtual content

Expected: 0 matches for

The queried content is deliberately not present in the DOM.