|
@@ -112,6 +112,8 @@ class Webshot extends CallableInstance<[Tweets, (...args) => void, number], Prom
|
|
|
.then(() => Promise.race([
|
|
|
page.waitForSelector('article', {state: 'attached', timeout: getTimeout()}),
|
|
|
page.click('#placeholder+#ScriptLoadFailure input[value="Try again"]', {timeout: getTimeout()}),
|
|
|
+ page.waitForSelector('div[role="button"]>div>span>:text-matches("^やりなおす|更新$")', {state: 'attached', timeout: getTimeout()})
|
|
|
+ .then(() => page.reload({timeout: getTimeout()})),
|
|
|
]))
|
|
|
// hide header, "more options" button, like and retweet count
|
|
|
.then(() => page.addStyleTag({
|