This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('dotenv').config(); | |
const { chromium } = require('playwright'); | |
const { expect } = require('expect'); | |
const cp = require('child_process'); | |
const fs = require('fs'); | |
const axios = require('axios'); | |
const FormData = require('form-data'); | |
// ✅ Redirect all terminal logs to console-logs.txt | |
const originalConsole = { |