osx - Get URL from active Firefox session with Swift or Objective C -
is possible retrieve url active firefox session swift or objective-c. far able retrieve name of actual tab applescript not url.
what right way?
not without installing selenium (or, perhaps, selenium), afaik. if use selenium, can use various languages "webdriver"'s current_url
property. without selenium, if want kind of clunky (but effective), can use system events (applescript) command-l (ell) command-c highlight url field , copy clipboard, access that.
Comments
Post a Comment