Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: fix UI Mode on Codespaces (#23549)
Max Schmittce2f902c1f86
diff --git a/packages/trace-viewer/src/ui/uiModeView.tsx b/packages/trace-viewer/src/ui/uiModeView.tsxindex d302df1b95..9201da88c9 100644--- a/packages/trace-viewer/src/ui/uiModeView.tsx+++ b/packages/trace-viewer/src/ui/uiModeView.tsx@@ -644,7 +644,7 @@ const callbacks = new Map<number, { resolve: (arg: any) => void, reject: (arg: Econst initWebSocket = async (onClose: () => void) => {const guid = new URLSearchParams(window.location.search).get('ws');- const ws = new WebSocket(`ws://${window.location.hostname}:${window.location.port}/${guid}`);+ const ws = new WebSocket(`${window.location.protocol === 'https:' ? 'wss' : 'ws'}://${window.location.hostname}:${window.location.port}/${guid}`);await new Promise(f => ws.addEventListener('open', f));ws.addEventListener('close', onClose);ws.addEventListener('message', event => {