Standard config

            
#Headless browser option
browser: "phantomjs"

# Type the name of the directory that shots will be stored in
directory: "shots"

# Add only 2 domains, key will act as a label
domains:
  english: "http://www.bbc.co.uk/news"
  russian: "http://www.bbc.co.uk/russian"

#Type screen widths below, here are a couple of examples
screen_widths:
  - 320
  - 600
  - 768x1500 # you can also specify the height, as we've done here
  - 1024
  - 1280

#Type page URL paths below, here are a couple of examples
paths:
  home: /
  uk_index: /uk

#Amount of fuzz ImageMagick will use
fuzz: "20%"

#Choose how results are displayed, by default alphanumeric. Different screen widths are always grouped.
#alphanumeric - all paths (with, and without, a difference) are shown, sorted by path
#diffs_first - all paths (with, and without, a difference) are shown, sorted by difference size (largest first)
#diffs_only - only paths with a difference are shown, sorted by difference size (largest first)
mode: diffs_first

threshold: 15
          
          

Component config

          
imports: "standard_config.yml"

#Headless browser option
browser: "casperjs"

# Type the name of the directory that shots will be stored in
directory: "shots"

#Type page URL paths below, here are a couple of examples
paths:
  brand:
    path: /
    selector: ".site-brand"
          
          

History config

          
imports: "standard_config.yml"

#Headless browser option
browser: "slimerjs" # note, you will have to specify your own snap file if you want to use Slimer
# There is an open ticket for providing proper support to SlimerJS:
# https://github.com/BBC-News/wraith/issues/364

# Type the name of the directory that shots will be stored in
directory: "shots"
history_dir: "shots_history"

# Add only 2 domains, key will act as a label
domains:
  news: "http://www.bbc.co.uk/news"

#Type page URL paths below, here are a couple of examples
paths:
  home: /
  uk_index: /uk
          
          

Spider config

          
imports: "paths_generated_by_spider.yml"

#Headless browser option
browser: "phantomjs"

# Type the name of the directory that shots will be stored in
directory: "shots"

# Add only 2 domains, key will act as a label
domains:
  english: "http://www.bbc.co.uk/news"
  russian: "http://www.bbc.co.uk/russian"

#Type screen widths below, here are a couple of examples
screen_widths:
  - 320
  - 600
  - 768x1500 # you can also specify the height, as we've done here
  - 1024
  - 1280

#Amount of fuzz ImageMagick will use
fuzz: "20%"

#A list of URLs to skip when spidering. Ruby regular expressions can be
#used, if prefixed with !ruby/regexp as defined in the YAML Cookbook
#http://www.yaml.org/YAML_for_ruby.html#regexps
#
spider_skips:
  - /foo/bar.html # Matches /foo/bar.html explcitly
  - !ruby/regexp /^\/baz\// # Matches any URLs that start with /baz

threshold: 15
          
          

Copyright

Copyright © BBC