mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Alternative to https://github.com/puppeteer/puppeteer/pull/14263 approach. Rely on `PUPPETEER_WEBDRIVER_BIDI_ONLY` environment variable, and do not provide CDP connection to BiDi browser for BiDi-only. Details: http://goto.google.com/webdriver-bidi:pure-bidi-puppeteer. Also introduced a new test suit `webDriverBiDiOnly`.
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"testSuites": [
|
|
{
|
|
"id": "chrome-headless",
|
|
"parameters": ["chrome", "headless", "cdp"]
|
|
},
|
|
{
|
|
"id": "chrome-headful",
|
|
"parameters": ["chrome", "headful", "cdp"]
|
|
},
|
|
{
|
|
"id": "chrome-headless-shell",
|
|
"parameters": ["chrome", "chrome-headless-shell", "cdp"]
|
|
},
|
|
{
|
|
"id": "firefox-headless",
|
|
"parameters": ["firefox", "headless", "webDriverBiDi"]
|
|
},
|
|
{
|
|
"id": "firefox-headful",
|
|
"parameters": ["firefox", "headful", "webDriverBiDi"]
|
|
},
|
|
{
|
|
"id": "chrome-bidi",
|
|
"parameters": ["chrome", "headless", "webDriverBiDi"]
|
|
},
|
|
{
|
|
"id": "chrome-bidi-only",
|
|
"parameters": ["chrome", "headless", "webDriverBiDiOnly"]
|
|
},
|
|
{
|
|
"id": "chrome-pipe",
|
|
"parameters": ["chrome", "headless", "cdp", "pipe"]
|
|
}
|
|
],
|
|
"parameterDefinitions": {
|
|
"chrome": {
|
|
"PUPPETEER_BROWSER": "chrome"
|
|
},
|
|
"firefox": {
|
|
"PUPPETEER_BROWSER": "firefox"
|
|
},
|
|
"headless": {
|
|
"HEADLESS": "true"
|
|
},
|
|
"headful": {
|
|
"HEADLESS": "false"
|
|
},
|
|
"chrome-headless-shell": {
|
|
"HEADLESS": "shell"
|
|
},
|
|
"webDriverBiDi": {
|
|
"PUPPETEER_PROTOCOL": "webDriverBiDi"
|
|
},
|
|
"webDriverBiDiOnly": {
|
|
"PUPPETEER_PROTOCOL": "webDriverBiDi",
|
|
"PUPPETEER_WEBDRIVER_BIDI_ONLY": "true"
|
|
},
|
|
"cdp": {},
|
|
"pipe": {
|
|
"PUPPETEER_PIPE": "true"
|
|
}
|
|
}
|
|
}
|