-
-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant run test on real iPhone Device iOS 14 #3160
Comments
Hi @jajo-shubham thanks for creating the issue. I think this could be that iOS 14 broke testing, let me try tonight (I haven't tried yet with an updated phone). |
@soulgalore thanks for quick reply, FYI It works on the iOS 14 emulator (like iPhone SE second gen) |
Yep I get the same. Lets wait for tonights event and see when next OS X is released and then I'll create an upstream bug at https://bugreport.apple.com/ |
Hi @jajo-shubham I tested again and now it worked. Are you sure your phone is paired? I synced my phone and after that it worked for me. When webdriver support was released, there was a bug that the phone needed to be paired with the device, my guess is that bug is back. |
I tested again and now it doesn't work. It also looks like |
Hey @soulgalore I am also facing similar issues,
Is there in general some issue with connecting to iOS safari using selenium? |
Yep I think it started with iOS 14. I sent an email earlier today to the web-evangelist mail at Apple hoping they can help us. |
Ah sorry I missed that you tried with 13. If so there's a webdriver issue. For me it was stable for 13. |
Which OS X did you use for successful testing on iOS 13? |
Catalina. Tomorrow is Big Sur released, I will have a go then again. If it still doesn't work I will create an upstream issue. |
HI @jajo-shubham reported this upstream. They say they heard about the problem but they had a hard time to reproduce. I've been able to give them logs. The last time we had issue they where really helpful and fixed it, so I hope for the same thing this time. I'll update the thread when I get more news. |
Hi @jajo-shubham if you also can submit a issue for Apple that would be great. Use the Feedback Assistant. Simplest use case to reproduce using pure Selenium for me is https://gist.github.com/soulgalore/a5478a1cc9937b19383f233443c1ce3f - I tried on two different Mac (Catalina and Big Sur) and one iPhone and iPad and get the same result. |
@soulgalore Sure, I'll also submit an issue for the same! |
Hey @soulgalore . I have not received any updates on this from apple, How about you? |
@jajo-shubham they got back to me with a workaround that didn't work for me (I'll share it tomorrow see if it could work for you). I'll ping them again when I get back to work in a week or so. I also tried with a new clean phone but no luck. |
Yeah sure, Let me know what they specified. Also what exactly seems to be the issue? |
However as you said it seems to be the same on 13 too. The thing is when I use Xcode I can see that the phone is paired. However WebDriver doesn't seems to know that it is. |
@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. |
Hey That is amazing @soulgalore .. Do let me know the workaround too! |
Yeah sorry, I was so tired last night :). The workaround is like this: start the Safaridriver standalone and configure to use that. I've pushed a fix for that that I'm gonna release the coming days. However video is not working at the moment, but I plan to release this fix first since its still valuable. |
@jajo-shubham I've just pushed 17.8.1 with the fix. Video do not work though. |
Thanks a lot.. will try it out soon! |
Hey @soulgalore .. Thanks for fixing this.. I tested this out but there are some issues I am facing
|
For video the problem is sitespeedio/browsertime#1598 ... waiting on an upstream fix for that. For the Coach sitespeedio/browsertime#1275 it seems to depends on how large the page is (it works for some page). I'm gonna have a look later this week and try to fix that. |
Ah got it.. I saw your video implementation and I thought it was done.. No issues.. Thanks for the quick reply as usual 👍 |
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 :) |
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:
The text was updated successfully, but these errors were encountered: