<!DOCTYPE html><html lang="en"><body> <video width="320" height="240" controls> <source src="https://www.w3schools.com/html/movie.mp4" type="video/mp4"> <source src="https://www.w3schools.com/html/movie.ogg" type="video/ogg"> </video></body></html> it('test', async function() { await driver.get('YOUR LOCAL SERVER');
await driver.sleep(5000); // Manually perform fullscreen action
await driver.actions().sendKeys(Key.ESCAPE).perform();
await driver.sleep(1000);
const fullscreenElement = await driver.executeScript(function() { return document.fullscreenElement; });
expect(fullscreenElement).to.not.be.exist; });--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0cabb9a1-c407-4912-affa-3307ceccc65a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to seleniu...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e38a1c97-a09f-4bf5-8c81-c734deb01ba7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e38a1c97-a09f-4bf5-8c81-c734deb01ba7%40googlegroups.com.