0

I'm emulating mobile devices using Selenium WebDriver For Chrome, I could find from https://chromedriver.chromium.org/mobile-emulation

Is there any way we can emulate mobile devices on Firefox and IE using Selenium WebDriver?

Alpha
  • 13,320
  • 27
  • 96
  • 163

1 Answers1

0

I didn't find any capability like the one in ChromeDriver to emulate mobile device in Geckodriver and InternetExplorerDriver.

According to this thread, I think you could try to change the user agent and browser width and height to emulate mobile device in Geckodriver.

But for InternetExplorerDriver, I think there's no way as InternetExplorerDriver has no good way to change the user agent. For more information, you could refer to this article.

Yu Zhou
  • 11,532
  • 1
  • 8
  • 22