mkoehnke / WKZombie

WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.
MIT License
1.17k stars 100 forks source link

Receiving Error when building WKZombie #74

Open MartinMannhart opened 7 years ago

MartinMannhart commented 7 years ago

I have received the following error when building WKZombie (Swift Version 4.0 - macOS High Sierra 10.13):

/WKZombie/Renderer.swift:99:47: error: method 'shared' was used as a property; add () to call it if let window = NSApplication.shared.keyWindow, let view = window.contentView {

Any help would be greatly appreciated.