Puppeteer: Profile creation is not support for {value} yet
The browser manager's profile-creation helper does not support the requested browser kind.
The browser manager’s profile-creation helper does not support the requested browser kind.
Error message
Profile creation is not support for {value} yet
{value} is replaced by the value shown in your error message.
How this error happens
The standalone createProfile helper does not initialize every browser family. Passing Chrome to its Firefox profile-creation path is unsupported.
import {
Browser,
createProfile,
} from "@puppeteer/browsers";
await createProfile(
Browser.CHROME,
{
path: "/absolute/path/automation-profile",
preferences: {},
}
);
How to fix
Let Puppeteer’s Chrome launcher manage an automation profile through userDataDir.
import puppeteer from "puppeteer";
const browser = await puppeteer.launch({
browser: "chrome",
userDataDir: "/absolute/path/chrome-automation-profile",
});
Things to keep in mind
Do not initialize or modify a personal profile that another Chrome process is using.