4

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or Automator?

I'm unable to figure out automating an embedded browser on Mac, though we have done it for a Windows/CEF combination.

1
  • The Wikipedia article Comparison of GUI testing tools may be a helpful reference. It lists a handful of tools capable of automating at the browser level or OS level. Note that this list is not specific to Selenium. Commented Sep 19, 2019 at 16:42

2 Answers 2

1

Sikuli can be an option:

Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.

1
0

Check if Squish tool can help you.

Squish is GUI automation framework they support macOS application with embedded WebKit.

4
  • No Comment needed. Instead of adding single line answer, Please explain some more details how Squish tool can help us in embedded WebKit browser? Add reference Links, If you have.
    – Bharat Mane
    Commented Jul 7, 2017 at 4:44
  • Squish detects the HTML components inside an embedded WebView resp. WKWebView control. You can access the HTML objects and query their properties, as well as doing interactions on them (like clicking on a link or entering text into an <input> element).
    – ashcatch
    Commented Feb 5, 2018 at 12:20
  • More info on Squish (website, wiki): It is a long-standing commercial product made by a company called Froglogic. It supports property-based object identification and recording and playback using test scripts written in several common languages. It supports macOS, *nix, Windows, etc. Commented Sep 19, 2019 at 16:46
  • Squish also appears to be extremely expensive (over $1000 per user per year), and closed source, or at least I cannot seem to find the source available publicly anywhere. froglogic.com/squish/prices/named-user-licensing Commented Sep 19, 2019 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.