Skip to content

Commit

Permalink
[WebDriver BiDi] Fix file test (#50177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade authored Jan 20, 2025
1 parent c742d0d commit 406d8b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webdriver/tests/bidi/input/set_files/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,16 +266,18 @@ async def test_set_files_twice_same(

element = await get_element("#input")

files = create_files(["path/to/noop.txt"])

await bidi_session.input.set_files(
context=top_context["context"],
element=element,
files=create_files(["path/to/noop.txt"]),
files=files,
)

await bidi_session.input.set_files(
context=top_context["context"],
element=element,
files=create_files(["path/to/noop.txt"]),
files=files,
)

events = await get_events(bidi_session, top_context["context"])
Expand Down

0 comments on commit 406d8b9

Please sign in to comment.