This file contains 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
BullModule.registerQueue({ | |
name: 'subscribe', | |
processors: [ | |
{ | |
path: resolve(`dist/workers/news/subscribe.js`), | |
concurrency: 5 / 2, | |
}, | |
], | |
}); |
This file contains 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
<div class="page"> | |
<div class="marvel-device nexus5"> | |
<div class="top-bar"></div> | |
<div class="sleep"></div> | |
<div class="volume"></div> | |
<div class="camera"></div> | |
<div class="screen"> | |
<div class="screen-container"> | |
<div class="status-bar"> | |
<div class="time"></div> |
This file contains 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
// @ts-check | |
import { firefox } from "playwright"; | |
const link = "https://sso.godaddy.com/"; | |
(async () => { | |
const browser = await firefox.launch({ | |
headless: false, | |
}); | |
const page = await browser.newPage(); | |
await page.setViewportSize({ |
This file contains 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
/* eslint-disable @typescript-eslint/no-var-requires */ | |
const puppeteer = require('puppeteer-extra'); | |
const StealthPlugin = require('puppeteer-extra-plugin-stealth'); | |
const sealth = StealthPlugin(); | |
const link = 'https://sso.godaddy.com/'; | |
(async () => { | |
puppeteer.use(sealth); | |
const browser = await puppeteer.launch({ | |
headless: false, | |
executablePath: |