How can I automate recurrent steps in Yosemite?
AppleScript and Automator

AppleScript and Automator are your best starting points for automating OS X. Both are included in OS X, so there is no immediate need to install third party software.

AppleScript and Automator are complementary approaches. An Automator workflow can include AppleScript snippets. An AppleScript can trigger Automator workflows.

See Introduction to AppleScript and AppleScript: The Language of Automation for an introduction to AppleScript. You can experiment with AppleScript using the included Script Editor.app utility included in your Applications > Utilities folder.

Searching the web for applescript chrome will return many useful web sites, such as:


Scripting Google Chrome for OSX using AppleScript
Google Chrome meets AppleScript
Use AppleScript to open current Safari URL in Google Chrome


When you reach the limits of AppleScript and Automator, third party automation software is available.