mykola-mokhnach / Appium-iOS-Inspector

Apache License 2.0
145 stars 60 forks source link

Can't load iOS INSPECTOR #39

Closed lamquangthanh closed 5 years ago

lamquangthanh commented 5 years ago

Hello,

I'm starting apps and appium successfully, but when open file Appium-iOS-Inspector.html , have and error with red "Appium session at https://localhost:4723/wd/hub is unreachable. Make sure..."

Have any change with way to start it?

Thanks

ndeztea commented 5 years ago

Hi, I have the similiar issue after upgrade appium and xcode to the latest

thank you for the great job!

mykola-mokhnach commented 5 years ago

Check the network requests in the web inspector and browser console for possible error messages

ndeztea commented 5 years ago

It seems caused by CORS issue

Access to XMLHttpRequest at 'http://localhost:4725/wd/hub/sessions' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
mykola-mokhnach commented 5 years ago

The workaround for CORS is described in README.

ndeztea commented 5 years ago

ok great, this is already solved this by installing CORS extensions on my browser

lamquangthanh commented 5 years ago

@ndeztea What's CORS extensions that you use?