User Tools

Site Tools


actions:Browser_Actions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
actions:Browser_Actions [2017/08/30 04:01]
peternlewis created
actions:Browser_Actions [2021/01/25 02:50] (current)
LarsIppich added Chrome setting including screenshot
Line 1: Line 1:
-Keyboard Maestro provides a large set of web browser actions that work with Safari and Google Chrome.+Keyboard Maestro provides a large set of web browser actions that work with Safari and Google Chrome, but require each browser to be set to accept their input as described below.
  
-These actions work only with those two browsers (and optionally, their developer versions) because they are the only two browsers that have comprehensive AppleScript support.+* [[Browser_Window_Actions|Browser Window Actions]] (like New Tab, Set URL, etc). 
 +* [[Browser_Form_Actions|Browser Form Actions]] (like Set Field, Set Checkbox). 
 +* [[Click_Browser_Link|Click Browser Link]] action. 
 +* [[Wait_For_Browser_to_Finish_Loading|Wait For Browser to Finish Loading]] action. 
 +* [[Execute_a_JavaScript_in_Browser|Execute a JavaScript in Browser]] action. 
 + 
 +These actions work only with those two browsers (and optionally, their developer versions, Safari Technology Preview and Chrome Canary) because they are the only two web browsers that have comprehensive AppleScript support. 
 + 
 +The actions can work with the *Front Browser*, which really means the most recently front web browser of Safari or Google Chrome. 
 + 
 +You can change the targeted browser in the gear BUTTON{{{⚙}}} menu. 
 + 
 +===== Safari Allow JavaScript =====
  
 For the Safari actions to work, you must enable Allow JavaScript for Apple Events. ​ To do so, first enable the Develop menu in the Safari preferences,​ and then ensure the *Allow JavaScript for Apple Events* option is ticked in the Develop menu. For the Safari actions to work, you must enable Allow JavaScript for Apple Events. ​ To do so, first enable the Develop menu in the Safari preferences,​ and then ensure the *Allow JavaScript for Apple Events* option is ticked in the Develop menu.
Line 7: Line 19:
 {{:​actions:​safari-develop-menu.png?​nolink&​323|}} {{:​actions:​safari-develop-menu.png?​nolink&​323|}}
  
 +===== Chrome Allow JavaScript =====
 +
 +For the Chrome actions to work, you must enable Allow JavaScript from Apple Events. ​ To do so, click on View, and then ensure that in the Developer sub-menu the *Allow JavaScript from Apple Events* option is ticked.
 +
 +{{:​actions:​chrome-develop-menu.png?​nolink&​600|}}
 +
 +===== See Also =====
 +
 +* [[Browser_Form_Actions|Browser Form Actions]]
 +* [[Browser_Window_Actions|Browser Window Actions]]
 +* [[Wait_For_Browser_to_Finish_Loading| Wait For Browser to Finish Loading actions]]
 +
 +=== Actions ===
 +
 +* [[:​Actions|See all Actions]]
 +
 +==== Forum ====
 +
 +- [[https://​forum.keyboardmaestro.com/​search?​q=Safari%20Chrome|Keyboard Maestro Forum topics about Safari and Chrome]]
actions/Browser_Actions.1504080070.txt.gz · Last modified: 2017/08/30 04:01 by peternlewis