Recording of my steps to setup Ubuntu 20.04 buildbot VM on July 22, 2020. The bot is responsible for WebKit builds.
- Update apt-get & install clang-9 to be consistent with Ubuntu 18.04 bot.
~$ sudo apt-get update
~$ sudo apt-get install clang-9
> [email protected] ftest /Users/aslushnikov/prog/playwright | |
> cross-env BROWSER=firefox jest "page-wait-for-navigation.spec.js" | |
console.error | |
Using executable at /Users/aslushnikov/firefox/obj-build-playwright/dist/Nightly.app/Contents/MacOS/firefox | |
73 | executablePath = process.env.WKPATH; | |
74 | if (executablePath) | |
> 75 | console.error(`Using executable at ${executablePath}`); |
FROM ubuntu:18.04 as firefox-builder | |
RUN apt-get update && apt-get install -y wget \ | |
git-core \ | |
python \ | |
python3 \ | |
python3-distutils \ | |
curl \ | |
clang-9 |
Recording of my steps to setup Ubuntu 18.04 buildbot VM on July 22, 2020. The bot is responsible for WebKit and Firefox builds.
~$ sudo apt-get install clang-9
~$ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100
pwuser@396166c88ec2:/root/playwright$ node a.js
(node:9916) UnhandledPromiseRejectionWarning: browserType.launch: Protocol error (Target.setAutoAttach): Target closed.
=========================== logs ===========================
[browser] <launching> /home/pwuser/.cache/ms-playwright/chromium-786218/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disab
le-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies --disable-hang-monitor --disab
FROM ubuntu:bionic | |
RUN apt-get update && apt-get install -y curl && \ | |
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ | |
apt-get install -y nodejs | |
RUN apt-get update && apt-get install -y libwoff1 \ | |
libopus0 \ | |
libwebp6 \ | |
libwebpdemux2 \ |
#!/usr/bin/env node | |
const fs = require('fs'); | |
const util = require('util'); | |
const path = require('path'); | |
const {spawn} = require('child_process'); | |
const accessAsync = util.promisify(fs.access.bind(fs)); | |
const checkExecutable = (filePath) => accessAsync(filePath, fs.constants.X_OK).then(() => true).catch(e => false); | |
const statAsync = util.promisify(fs.stat.bind(fs)); |
As we were preparing Playwright 1.1.0, I learned quite a lot about Web Proxies. Below is the summary of my findings.
There are two groups of proxies that drive internet: