Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Browserstack: iPhone 7 not found #317

Open
teewurst opened this issue Mar 20, 2018 · 2 comments
Open

Browserstack: iPhone 7 not found #317

teewurst opened this issue Mar 20, 2018 · 2 comments

Comments

@teewurst
Copy link

teewurst commented Mar 20, 2018

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
Copy link
Member

stof commented Mar 20, 2018

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

@teewurst
Copy link
Author

teewurst commented Apr 9, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants