~ubuntu-branches/debian/experimental/dogtail/experimental

« back to all changes in this revision

Viewing changes to examples/firefox-test-browsing-local-html-file.py

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2006-12-16 10:57:30 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061216105730-utt6mcidfssawo7j
Tags: 0.6.1-3
pyhton-at-spi has to be added as dependency (Closes: #402752)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# Dogtail demo script
3
 
__author__ = 'David Malcolm <dmalcolm@redhat.com>'
4
 
 
5
 
# Test opening a new window and browsing to a local HTML file
6
 
 
7
 
# Under construction.  Doesn't yet work
8
 
 
9
 
from dogtail.apps.wrappers.mozilla import *
10
 
 
11
 
import dogtail.config
12
 
dogtail.config.config.debugSearching=True
13
 
 
14
 
ff = FirefoxApp()
15
 
wnd = ff.newWindow()
16
 
wnd.browseTo("file://"+path.abspath("data/test.html"))