Skip to content

Commit aa645a5

Browse files
[wdspec] destinationFolder is required in browser.setDownloadBehavior (#55043)
1 parent 1618be8 commit aa645a5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

webdriver/tests/bidi/browser/set_download_behavior/download_behavior_allowed.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ async def test_allow_and_reset(bidi_session, new_tab, temp_dir,
1515
assert await is_download_allowed(new_tab) == default_is_download_allowed
1616

1717

18-
async def test_allow_and_reset_no_destination_folder(bidi_session, new_tab,
19-
is_download_allowed, default_is_download_allowed):
20-
await bidi_session.browser.set_download_behavior(download_behavior={
21-
"type": "allowed"
22-
})
23-
assert await is_download_allowed(new_tab) == True
24-
25-
await bidi_session.browser.set_download_behavior(download_behavior=None)
26-
assert await is_download_allowed(new_tab) == default_is_download_allowed
27-
28-
2918
async def test_destination_folder(bidi_session, new_tab, temp_dir,
3019
trigger_download):
3120
await bidi_session.browser.set_download_behavior(download_behavior={

0 commit comments

Comments
 (0)