forked from mttu-developers/konabot
让浏览器等久一点
This commit is contained in:
@ -331,7 +331,9 @@ async def _(quote: str, author: str, img: PIL_Image):
|
||||
await page.locator('input[name=quote]').fill(quote)
|
||||
await page.locator('input[name=author]').fill(author)
|
||||
|
||||
await page.wait_for_timeout(500)
|
||||
await page.wait_for_load_state('networkidle')
|
||||
await page.wait_for_timeout(500)
|
||||
|
||||
out = await WebRenderer.render(
|
||||
konaweb('makequote'),
|
||||
|
||||
Reference in New Issue
Block a user