The common web consensus seems to be that if you see a name in your chrome emulator, you can use it as-is in your protractor config ... so I tried Apple iPad:
{
browserName: 'chrome',
chromeOptions: {
mobileEmulation: {
deviceName: 'Apple iPad'
}
}
}
But I had to muck around until trial & error yielded the correct deviceName to be: Apple iPad 3 / 4
Now I've searched here: https://developer.chrome.com/devtools/docs/device-mode#enable-device-mode and here: https://sites.google.com/a/chromium.org/chromedriver/mobile-emulation
but I can't find a list of all the valid deviceNames. Any ideas where to get it?
On https://code.google.com/p/chromium/codesearch I found: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/emulated_devices/module.json&q=%22Apple%20iPad%22&sq=package:chromium&type=cs&l=643
But that's not really the source code that matters.
Maybe the source code for chrome webdriver somewhere else may have an enumerated list but I couldn't find it, any help is appreciated!
So I found some sources but they seemed to referencing links that didn't exist anymore. This seems to be the best result I could find?
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/emulation/OverridesUI.js&l=338
EDIT:
This list seems like the master list
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/test/chromedriver/chrome/mobile_device_list.cc
This code contains supported devices:
https://cs.chromium.org/chromium/src/chrome/test/chromedriver/chrome/mobile_device_list.cc?type=cs&q=%22Apple+iPhone+6%22&sq=package:chromium&l=12
For the moment it contains:
Laptop with touch
BlackBerry Z30
Google Nexus 6
Google Nexus 7
Google Nexus 4
Google Nexus 5
Apple iPad
Laptop with HiDPI screen
Samsung Galaxy Note II
Nokia N9
Samsung Galaxy S4
Nokia Lumia 520
BlackBerry PlayBook
Apple iPhone 5
Apple iPhone 4
Apple iPhone 6
LG Optimus L70
Apple iPhone 6 Plus
Apple iPad Mini
Amazon Kindle Fire HDX
Samsung Galaxy S III
Laptop with MDPI screen
Samsung Galaxy Note 3
Google Nexus 10
Related
I'm experiencing a very strange behavior of the embedded JW Player. Generally, it plays videos fine in
Safari 10.0.2 (Mac)
Internet Explorer 11 (Windows)
Edge 25.1 (Windows)
Mobile Safari (iOS 10.2)
It also plays fine in all other browsers, but only when I open the video on the preview page in the JW Player Backend (see screenshot, tested in Chrome 55 for Mac).
However, it doesn't play when I embed the player in my Project (locally or in productivity, even if I use the same markup used in the preview page), but only in some browsers, including
Chrome 55.0 (Mac)
Opera 42.0 (Mac)
Firefox 50.1 (Mac)
Chrome 55.0 (Windows)
Firefox 50.0 (Windows)
In these Browsers, the player shows the loading icon for about 1 minute, then it says "Error loading media: File could not be played" (see screenshot, tested in Chrome 55 for Mac).
However, the browsers listed at the beginning can still play the video...
And it doesn't seem to be only me, since my colleagues are experiencing the exact same problem. Can anybody help?
Here's an example embed (expires in 1 day):
<script type='text/javascript' src='http://content.jwplatform.com/players/rUqzk7Ff-JGyYovz4.js?exp=1484212670&sig=e492a1f9aab8910829dabae0e97a1d5a'></script>
I connected my iPad device running iOS 9 beta version to Mac Running Yosemite 10.10.5 and not getting option to inspect in Safari 8.0.8 under Develop menu.
Things i did
In device settings->safari->Enabled Web inspector and JavaScript.
In Safari preferences on Mac machine enabled "Show Develop menu in
menu bar".
Any help is appreciated.
Thanks
Not sure about iOS9, but for previous versions you needed to use new beta version of desktop Safari to debug beta version of mobile Safari. Probably this is the same problem.
I am using polymer paper elements in my polymer app. Its looking great in all desktop browsers. I tried this demo in all browsers. It working nice in some android phones (samsung s4). But in some android phones, I could not see anything (Tested using chrome and default android browser on samsung gt i9070, Micromax A90). I tried to load URL of mentioned demo on android webview, It was not working in many phones (Micromax canvas A114).
I gone through browser compatibility page Which shows, It supports in chrome android. but not observed by me. Is this observed by others ?
When I launch Firefox OS 1.3 simulator from app manager; the simulator gets launched but its showing a black screen only.
Is there something I missed out while launching?
Note: I am using Firefox 30.
There are various reasons to show black screen in Firefox OS Simulator. I recommend you install up-to-date version as like 1.4.
Very strange you have tried to reinstall the simulator?
Looks like we both are facing same issue.Do you see the black screen after the "based on Mozilla Technology" splash screen?Please check below question that i posted.Also try out some of the steps suggested there.
Firefox OS 1.3 simulator doesn't work.(runs but shows a black screen)
I need to debug a Javascript on iPad Safari (iOS-6). I guess this can be done using remote debugging by connecting it to the Mac (or using a xCode iPad or iPhone simulator instead of connecting an actual iPad). I also need to turn on Safari->Advanced->WebInspector on the iPad and Safari->Preferences-> Advanced ->check the "show Develop menu in the menu bar" option in my macbook. And then when the Develop option appears in the top Safari toolbar (I dont know the exact terminology for this) I should be seeing my iPad there and then can start remote debugging. Now everything is fine except the fact that I cant see the ipad (or the simulator as I tried both option) in the Develop option in Safari. Any ideas/thought what am I missing here?
You must have at least Safari 6+
Looks like you can't on Windows unless you're doing some form of emulation--
http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/DebuggingSafarioniPhoneContent/DebuggingSafarioniPhoneContent.html
"Important: You can only inspect apps on devices that have been transferred to your device from Xcode. You cannot inspect apps that have been downloaded from the App Store, even if it is your app."
You also need OSX 10.7 and safari 6, which doesn't exist for windows yet. :(