Re: Set Window Size

Does this look at the content of the page, or does it wait for (something
like) window.outerHeight/Width to change?

Sam.

On Mon, May 16, 2016 at 10:35 AM Clay Martin <clmartin@microsoft.com> wrote:

> We're currently working on making our implementation more synchronous (to
> the end user of WebDriver). We are adding code to verify the content of the
> page has actually finished resizing before returning. While the browser
> handles many things asynchronously returning from WebDriver tends to be
> synchronous. Also if it's not this means web developers just end up
> sleeping the thread for x amount of time (which is never a good hack).
> ________________________________________
> From: James Graham <james@hoppipolla.co.uk>
> Sent: Monday, May 16, 2016 10:27:12 AM
> To: public-browser-tools-testing@w3.org
> Subject: Set Window Size
>
> This command is presumably supposed to be sync at the moment. That seems
> difficult to implement e.g. if the window manager has an API where you
> ask for your window to be resized and it happens (or not) at some later
> time. Should this command allow async operation?
>
>
>

Received on Monday, 16 May 2016 19:59:58 UTC