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.