AppleScript and Selenium?

Can AppleScript interact with the Selenium API in some way?

In some way? Perhaps. It’s it sensible to use AS with Selenium? No.

There are APIs in several languages for Selenium. Use one of those. Interfacing AS with Java, JavaScript, Python, or Ruby will cause you more trouble than it’s worth.

I tested it 5 years ago.
http://piyocast.com/as/archives/2390

I compiled selenium-objective-c and call it from AppleScript.

The compiled binary is intel64.

1 Like

The reason I asked is that JavaScript typically can’t access iframes (unless they are on the same domain), and Selenium can.

You can talk to Selenium with JavaScript (and a host of other languages). Probably not with AppleScript though.