Skip to content

Instantly share code, notes, and snippets.

View kysnrm's full-sized avatar

MORIOKA Ryota kysnrm

View GitHub Profile
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({
headless: false,
slowMo: 100,
args: [
'--window-size=1440,900',
]
});
//ダイアログの設定
var dialog = new Window("dialog", "抵抗値の配列を入力する", [0, 0, 600, 90]);
dialog.add("statictext", [
10, 20, 60, 40
], "抵抗値");
var length = dialog.add("edittext", [
60, 15, 590, 40
], "300"); //数の入力
var btnCancel = dialog.add("button", [