[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
f06e8cf171
commit
b9b2a28e9c
1 changed files with 1 additions and 3 deletions
|
|
@ -1159,9 +1159,7 @@ with sync_playwright() as p:
|
|||
# Unpinned rows (Video, Recipes, Export by default) live in the sidebar's
|
||||
# "More" flyout. It opens on hover, so hover first; a click would toggle it
|
||||
# straight back shut. Click is the fallback for a no-hover environment.
|
||||
more_btn = page.get_by_role(
|
||||
"button", name = re.compile(r"^\s*More\s*$", re.I)
|
||||
).first
|
||||
more_btn = page.get_by_role("button", name = re.compile(r"^\s*More\s*$", re.I)).first
|
||||
if more_btn.count() > 0:
|
||||
more_btn.hover()
|
||||
page.wait_for_timeout(500)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue