chore: make version banner configurable and speed up login waits
This commit is contained in:
parent
34e8d92b05
commit
133502ff94
4 changed files with 13 additions and 4 deletions
|
|
@ -111,7 +111,7 @@ try {
|
|||
'button:has-text("Anmelden")',
|
||||
'[data-a-target="user-dropdown-first-name-text"]',
|
||||
'[data-testid="user-dropdown-first-name-text"]',
|
||||
].map(s => page.waitForSelector(s)));
|
||||
].map(s => page.waitForSelector(s, { timeout: cfg.login_visible_timeout }))).catch(() => {});
|
||||
try {
|
||||
await page.click('[aria-label="Cookies usage disclaimer banner"] button:has-text("Accept Cookies")'); // to not waste screen space when non-headless; could be flaky
|
||||
} catch {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue