~canonical-platform-qa/selenium-simple-test/fix1394741-remote_browser_init

« back to all changes in this revision

Viewing changes to docs/index.rst

  • Committer: Tarmac
  • Author(s): Corey Goldberg
  • Date: 2013-08-14 14:24:19 UTC
  • mfrom: (432.1.7 no-javascript-disable)
  • Revision ID: tarmac-20130814142419-2yhk1ydb0wa3bkxt
[r=coreygoldberg,elopio] removed the ability to disable javascript

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
    -d DIR_NAME               directory of test case files
128
128
    -r REPORT_FORMAT          report type: xml
129
129
    -b BROWSER_TYPE           select webdriver (Firefox, Chrome, PhantomJS, etc)
130
 
    -j                        disable javascript in browser
131
130
    -m SHARED_DIRECTORY       directory for shared modules
132
131
    -q                        output less debugging info during test run
133
132
    -V                        print version info and exit
331
330
 
332
331
    from sst import config
333
332
 
334
 
    # is javascript disabled?
335
 
    config.javascript_disabled
336
 
 
337
333
    # which browser is being used?
338
334
    config.browser_type
339
335
 
350
346
    config.cache
351
347
 
352
348
 
353
 
------------------------
354
 
    Disabling Javascript
355
 
------------------------
356
 
 
357
 
If you need to disable Javascript for an individual test, you can do it by
358
 
putting the following at the start of the test::
359
 
 
360
 
    JAVASCRIPT_DISABLED = True
361
 
 
362
 
 
363
349
--------------------------------
364
350
    Development on Ubuntu/Debian
365
351
--------------------------------