oop that wont work
This commit is contained in:
parent
7114896ebe
commit
3549c63a08
|
@ -19,10 +19,10 @@ global.screenshotter = {
|
|||
}
|
||||
try {
|
||||
await page.goto('http://ourworldofpixels.com');
|
||||
await page.evaluate(function () {
|
||||
localStorage.owopcaptcha = require('./config').owop_captcha_password;
|
||||
await page.evaluate(function (owopcaptcha) {
|
||||
localStorage.owopcaptcha = owopcaptcha;
|
||||
OWOP.camera.zoom = 1;
|
||||
});
|
||||
}, require('./config').owop_captcha_password);
|
||||
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||
await page.evaluate(function () {
|
||||
for (let butt of document.getElementsByTagName('button')) {
|
||||
|
|
Loading…
Reference in New Issue