mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
fix(record): use example.com as the default record start URL
This commit is contained in:
@@ -9,8 +9,8 @@ import {
|
||||
} from "../record";
|
||||
|
||||
describe("record defaults", () => {
|
||||
it("uses Baidu as the default injectable start URL", () => {
|
||||
expect(RECORD_DEFAULT_START_URL).toBe("https://www.baidu.com/");
|
||||
it("uses example.com as the default injectable start URL", () => {
|
||||
expect(RECORD_DEFAULT_START_URL).toBe("https://example.com/");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ function sleep(ms: number): Promise<void> {
|
||||
}
|
||||
|
||||
/** Injectable http(s) landing page when `tool.record_start` omits `url`. */
|
||||
export const RECORD_DEFAULT_START_URL = "https://www.baidu.com/";
|
||||
export const RECORD_DEFAULT_START_URL = "https://example.com/";
|
||||
|
||||
/** Pages where MV3 content scripts cannot attach (Agent Window boots here). */
|
||||
function isContentScriptRestrictedUrl(url: string | undefined): boolean {
|
||||
|
||||
Reference in New Issue
Block a user