mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
parent
ea6326c860
commit
8dcda65837
@ -63,7 +63,7 @@ async function runAllTests() {
|
||||
try {
|
||||
protocol = await CDP({ port: chrome.port });
|
||||
} catch (e) {
|
||||
if (e === "No inspectable targets" && connectAttempts < 50) {
|
||||
if (e.message === "No inspectable targets" && connectAttempts < 50) {
|
||||
connectAttempts++;
|
||||
console.log(
|
||||
"Unable to establish connection to chrome target - trying again..."
|
||||
|
Loading…
Reference in New Issue
Block a user