sitespeed.io: Cant run test on real iPhone Device iOS 14

Hi Guys! I am unable to run sitespeed with my mac and iPhone. It tells me to turn on remote automation even though it is already on. It runs on the simulators but not on the real device. I have tried safaridriver --enable as a popular suggestion but that also doesnt work. OS X: Catalina 10.15.6 Phone: iOS 14.0 for iPhone XR and iPhone 6S

Command Used: sitespeed.io -b safari --safari.ios --safari.useSimulator false --safari.deviceUDID "XXXXXXXXXXX" https://google.com Output:

[2020-10-13 18:08:40] INFO: Versions OS: darwin 19.6.0 nodejs: v10.22.0 sitespeed.io: 15.4.0 browsertime: 10.4.0 coach: 5.1.1
[2020-10-13 18:08:41] INFO: Running tests using Safari - 3 iteration(s)
[2020-10-13 18:08:42] INFO: Browser failed to start, trying 2 more time(s): Could not create a session: Some devices were found, but could not be used:
- [unknown wireless device]: device is not paired
- Shubham’s iPhone (XXXX): Remote Automation is turned off (turn it on via Settings > Safari > Advanced > Remote Automation)
[2020-10-13 18:08:43] INFO: Browser failed to start, trying 1 more time(s): Could not create a session: Some devices were found, but could not be used:
- [unknown wireless device]: device is not paired
- Shubham’s iPhone (XXXXX): Remote Automation is turned off (turn it on via Settings > Safari > Advanced > Remote Automation)
[2020-10-13 18:08:44] INFO: Browser failed to start, trying 0 more time(s): Could not create a session: Some devices were found, but could not be used:
- [unknown wireless device]: device is not paired
- Shubham’s iPhone (XXXXX): Remote Automation is turned off (turn it on via Settings > Safari > Advanced > Remote Automation)
[2020-10-13 18:08:53] ERROR: BrowserError: Could not start the browser with 3 tries
    at SeleniumRunner.start (/Users/shubhamjajodia/.nvm/versions/node/v10.22.0/lib/node_modules/sitespeed.io/node_modules/browsertime/lib/core/seleniumRunner.js:86:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)
[2020-10-13 18:08:53] ERROR: No data to collect
[2020-10-13 18:08:53] ERROR: TypeError: Cannot read property 'alias' of undefined
    at Object.processMessage (/Users/shubhamjajodia/.nvm/versions/node/v10.22.0/lib/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:148:50)
    at process._tickCallback (internal/process/next_tick.js:68:7)
[2020-10-13 18:08:54] INFO: HTML stored in /Users/shubhamjajodia/sitespeed-result/google.com/2020-10-13-18-08-40

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (16 by maintainers)

Most upvoted comments

@jajo-shubham I’ve finally got some good news. I got some help from the Apple dev team with a workaround, I’m gonna implement it the coming days. The fix is easy but there are some problem (bug) with the video recording I implemented some time ago so let me try to fix that too.

I’ve updated the docs with instructions on how to disable the coach, gonna create an upstream issue when I get back from my vacation. Closing the issue since it works to run tests, and hope that the video gets fixed soon 😃