Closed Bug 1344299 Opened 7 years ago Closed 7 years ago

Maximize and sendKeys not working with GeckoDriver on Selenium 3.1.0

Categories

(Firefox :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: iamjamalkhan, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

Once the driver is initialized with Geckodriver, the window loads the url and should maximize and accept keys F11 and F5. Here is the code
_driver.get( url );
By by = get_element( "global_nav" );
_driver.manage().window().maximize();
_driver.findElement( by ).sendKeys( Keys.F11 );
sleep( 2000 );
_driver.findElement( by ).sendKeys( Keys.F5 );


Actual results:

As per the code and if we use older with marionette set as false while initializing the Firefox driver, same code works fine. But with marionette set as true and new Firefox like 51.X it does not have any effect.


Expected results:

Browser window should maximize and F11/F5 keys should work through selenium sendKeys api.
See my comment in https://github.com/mozilla/geckodriver/issues/475#issuecomment-282004271.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.