MinkExtension icon indicating copy to clipboard operation
MinkExtension copied to clipboard

Selenium2Driver move window

Open vittore opened this issue 7 years ago • 1 comments

Hi,

is there a way to move a window? Will be great a setWindowPosition function so when I'm using multiplies windows for session I can put all windows without overlapping.

    $this->getSession($username)->resizeWindow(1024,768);
    $this->getSession($user)->setWindowPosition(0,0);

Thanks in advance. v.

vittore avatar Jun 07 '17 07:06 vittore

Hi @vittore! It's actually WebDriver Session responsibility. Just look to the available Session methods

You can get WebDriver Session from Selenum2Driver. So actually this issue is not to Behat/MinkExtension package.

spolischook avatar Jun 07 '17 08:06 spolischook