Behat / MinkExtension

Mink extension (tight integration and configuration) for Behat
MIT License
636 stars 276 forks source link

Browserstack: iPhone 7 not found #317

Open teewurst opened 6 years ago

teewurst commented 6 years ago

Not sure why, but as soon as I try to do mobile testing, it tells me, that any device (iPhone 7, Samsung Galaxy S8 etc.) listed on browserstack could not be found. https://www.browserstack.com/automate/capabilities

Could not open connection: Could not find device: iPhone 7 (Behat\Mink\Exception\DriverException)

My capabilities:

            browser_stack:
                capabilities:
                    browserstack-tunnel: true
                    acceptSslCerts: true
                    browserstack-debug: false
                    device: 'iPhone 7'
                    os_version: '10.3'

Other configurations like ...

                capabilities:
                    browserstack-tunnel: true
                    acceptSslCerts: true
                    browserstack-debug: false
                    os: Windows
                    os_version: '7'
                    browser: IE
                    browserVersion: '10'

... are working like charm. Only device does not work.

Does anybody know why? Is anything missing in my configuration?

stof commented 6 years ago

I suggest you to contact Browserstack to ask them what is the right device capability to specify for Selenium for these devices.

teewurst commented 6 years ago

Answer is simple: If there is a real device, you can't test it emulated.

So even if you try to send "real_device: false" it wont work. Onliest solution I found was to subscribe to a higher plan.