Using X11::GUITest on a modern mac

121 views Asked by At

I'd like to use the X11::GUITest perl module to control my browser in conjunction with the WWW::Mechanize::Firefox module on my Mac running High Sierra.

I downloaded and installed XQuartz. I'm not sure what to do next get this to work. When I try:

use X11::GUITest qw(SendKeys FindWindowLike ClickWindow SetEventSendDelay QuoteStringForSendKeys);

I get:

dyld: lazy symbol binding failed: Symbol not found: _XOpenDisplay
  Referenced from: /Users/me/perl5/perlbrew/perls/perl-5.24.1/lib/site_perl/5.24.1/darwin-2level/auto/X11/GUITest/GUITest.bundle
  Expected in: flat namespace

dyld: Symbol not found: _XOpenDisplay
  Referenced from: /Users/me/perl5/perlbrew/perls/perl-5.24.1/lib/site_perl/5.24.1/darwin-2level/auto/X11/GUITest/GUITest.bundle
  Expected in: flat namespace

Abort trap: 6

Is what I'm trying to do even possible?

0

There are 0 answers