Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: throw if protocol can't get generated when rolling (#33607)

Max Schmittb8f824ca6b31
diff --git a/utils/roll_browser.js b/utils/roll_browser.js
index 4d9167f0f7..ba2422d77e 100755
--- a/utils/roll_browser.js
+++ b/utils/roll_browser.js
@@ -109,7 +109,7 @@ Example:
// 5. Generate types.
console.log('\nGenerating protocol types...');
const executablePath = registry.findExecutable(browserName).executablePathOrDie();
- await protocolGenerator.generateProtocol(browserName, executablePath).catch(console.warn);
+ await protocolGenerator.generateProtocol(browserName, executablePath);
// 6. Update docs.
console.log('\nUpdating documentation...');