Slide 33
Slide 33 text
const { firefox, webkit, chromium } = require("playwright");
const loginPageUrl = 'https://order.yodobashi.com/yc/login/
index.html';
(async () => {
// const browser = await webkit.launch();
// const browser = await chromium.launch({headless: false});
const browser = await firefox.launch({dumpio: true});
const context = await browser.newContext();
const page = await context.newPage();
await page.setViewport({width: 1920, height: 2000});
await page.goto(loginPageUrl, {
waitUntil: 'networkidle2',
});
ɾ
ɾ
ɾ
΄΅Puppeteerͱಉ͡ίʔυͰಈ͍ͨ
8FCLJUͷ߹
$ISPNJVNͷ߹
'JSFGPYͷ߹
1VQQFUFFSͱҧ͏෦