[Webkit-unassigned] [Bug 182837] New: Web Automation: support enter/exit fullscreen and hide/restore window operations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 15 13:15:10 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182837

            Bug ID: 182837
           Summary: Web Automation: support enter/exit fullscreen and
                    hide/restore window operations
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: aestes at apple.com, bburg at apple.com, cgarcia at igalia.com,
                    jer.noble at apple.com, joepeck at webkit.org,
                    thorton at apple.com, webkit-bug-importer at group.apple.com
            Blocks: 180398

WebAutomationSession needs the following pieces for use in Set Window Rect and Minimize Window commands.

- unfullscreen the window

    This should be doable by using WebFullScreenManagerProxy directly and waiting for a notification or callback into the session.

- miniaturize/minimize/hide the window

   At a minimum this needs a platform method. We might need to call out to _WKAutomationSessionDelegate.

- deminiaturize/restore the window

   At a minimum this needs a platform method. We might need to call out to _WKAutomationSessionDelegate.


I think it's best to implement the Fullscreen Window command using Execute Async Script: `document.documentElement.webkitRequestFullscreen()` and use an event listener to determine when the operation succeeds or fails. We don't need a separate command for that.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=180398
[Bug 180398] WebDriver: implement maximize, minimize and fullscreen window commands
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180215/80b25677/attachment-0001.html>


More information about the webkit-unassigned mailing list