Open GoogleCodeExporter opened 9 years ago
This issue is reproducible. tested with latest version of ChromeDriver(2.15),
Selenium (2.45) and Chrome(42.xx.xx.)
unable to select and Amazon Kindle Fire HDX 7" OR 8.9" device in mobile
emulation.
------------------ java------------
Map<String, String> mobileEmulation = new HashMap<String, String>();
Map<String, Object> chromeOptions = new HashMap<String, Object>();
mobileEmulation.put("deviceName", "Amazon Kindle Fire HDX 7\"");
chromeOptions.put("mobileEmulation", mobileEmulation);
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);
WebDriver driver = new ChromeDriver(capabilities);
driver.get("http://www.google.com");
driver.findElement(By.name("q")).sendKeys("testing");
driver.findElement(By.name("btnG")).click();
driver.quit();
Original comment by agau...@chromium.org
on 28 Apr 2015 at 6:13
Thanks. Not that it matters but I was using Python. I use this for work
purposes so the sooner the fix the better. Any idea at this point when that
might be? We could use this functionality!
Thanks!
Original comment by jonathan...@gmail.com
on 28 Apr 2015 at 9:15
As a workaround can you try with creating custom device same as Amazon Kindle
Fire HDX 7 resolution; mentioned here:-
https://sites.google.com/a/chromium.org/chromedriver/mobile-emulation
"Specifying Individual Device Attributes"
OR
Create custom device in the panel with the help of this :-
Custom Devices :- https://developer.chrome.com/devtools/docs/device-mode
then access custom device through code.
Original comment by agau...@chromium.org
on 30 Apr 2015 at 11:36
Original comment by gmanikp...@chromium.org
on 26 May 2015 at 11:01
Original issue reported on code.google.com by
jonathan...@gmail.com
on 24 Apr 2015 at 1:01