Testing web application on Mac/Safari when I don't own a Mac

前端 未结 12 584
梦毁少年i
梦毁少年i 2021-01-29 21:38

Having been caught out recently when a web site I launched displayed perfectly on IE, Firefox, Chrome and Safari on Windows but was corrupted when viewed using Safari on the Mac

相关标签:
12条回答
  • 2021-01-29 21:57

    These sites may help:

    Browsera
    Browsershots

    0 讨论(0)
  • 2021-01-29 22:00

    A) Install VirtualBox and download free MacOS High Sierra image

    See tutorial here: https://www.wikigain.com/install-macos-high-sierra-virtualbox-windows/

    You will get the latest Safari.

    You don't need to pay for those online services!!!

    Use these vbox settings to increase resolution and memory, but it is still very laggy and slow:

    cd "C:\Program Files\Oracle\VirtualBox\"
    VBoxManage setextradata "macOS" VBoxInternal2/EfiGraphicsResolution 1920x1080
    VBoxManage modifyvm "macOS" --vram 256
    

    B) Alternatively try VMware

    0 讨论(0)
  • 2021-01-29 22:01

    https://turbo.net/ offers a browser sandbox in which containerised virtual machines run browser sessions for you. I tried it with Safari on my Windows development machine and it seems to work very well.

    0 讨论(0)
  • 2021-01-29 22:05

    https://appetize.io/demo?device=iphone8&scale=75&orientation=portrait&osVersion=13.3 60 seconds is enought for test. Isn't need to register account to.

    0 讨论(0)
  • 2021-01-29 22:07

    Meanwhile, MacOS High Sierra can be run in VirtualBox (on a PC) for Free. It's not really fast but it works for general browser testing.

    How to setup see here: https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/

    I'm using this for a while now and it works quite well

    0 讨论(0)
  • 2021-01-29 22:08

    Unfortunately you cannot run MacOS X on anything but a genuine Mac.

    MacOS X Server however can be run in VMWare. A stopgap solution would be to install it inside a VM. But you should be aware that MacOS X Server and MacOS X are not exactly the same, and your testing is not going to be exactly what the user has. Not to mention the $499 price tag.

    Simplest way is to buy yourself a cheap mac mini or a laptop with a broken screen used on ebay, plug it onto your network and access it via VNC to do your testing.

    0 讨论(0)
提交回复
热议问题