Closed Bug 1751361 Opened 2 years ago Closed 2 years ago

[wdspec] Don't reset window size when tearing down a session when application doesn't support it

Categories

(Testing :: geckodriver, defect)

Default
defect

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(2 files)

When creating a webdriver session in the session fixture we resize the window to a default width and height.

But when cleaning up the session there is no such check and we always to try reset the window size.

This adds extra noise to the log output which would be good to get rid of.

WebDriver commands that currently assert for Firefox should
actually check for desktop because Thunderbird also supports
all of these.

Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/76875c8e527c
[marionette] Replace assertions for Firefox with Desktop. r=webdriver-reviewers,jdescottes
https://hg.mozilla.org/integration/autoland/rev/df8ae8598587
[wdspec] Don't reset window size during session cleanup if application doesn't support it. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/32496 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: