What are valid deviceNames for Chrome emulation testing with Protractor?

前端 未结 2 792
长情又很酷
长情又很酷 2021-02-06 08:43

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:

2条回答
  •  情话喂你
    2021-02-06 08:59

    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
    

提交回复
热议问题