Home | History | Annotate | Download | only in examples
      1 -- Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 -- Use of this source code is governed by a BSD-style license that can be
      3 -- found in the LICENSE file.
      4 
      5 -- This script execute a string of javascript code.
      6 tell application "Chromium"
      7 	tell tab 1 of window 1
      8 		execute javascript "alert('Hello World')"
      9 	end tell
     10 end tell
     11