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.
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 {
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.