- Updated packages
- Added timeout after scrolling back to top
- Some Docker improvement thanks to @mgrimace
This commit is contained in:
TheNetsky
2024-05-28 11:38:49 +02:00
parent 9a144b2e60
commit 9b1eed526f
3 changed files with 11 additions and 8 deletions

View File

@@ -140,6 +140,8 @@ export class Search extends Workers {
window.scrollTo(0, 0)
})
await this.bot.utils.wait(500)
const searchBar = '#sb_form_q'
await searchPage.waitForSelector(searchBar, { state: 'visible', timeout: 10_000 })
await searchPage.click(searchBar) // Focus on the textarea