Skip to content

An automated PhantomJS installer and configurator for sbt

License

Notifications You must be signed in to change notification settings

nontan-pixiv/sbt-phantomjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-phantomjs Build Status

An automated PhantomJS Installer for sbt

Setup

project/plugins.sbt

addSbtPlugin("jp.leafytree.sbt" % "sbt-phantomjs" % "0.1.4")

build.sbt

// Enable the plugin
val myProject = (project in file(".")).enablePlugins(PhantomJs)

// Install PhantomJS and add system properties definition for Selenium PhantomJS Driver to javaOptions
javaOptions ++= PhantomJs.setup(baseDirectory.value)

Samples

Tasks

installPhantomJs task

$ sbt installPhantomJs
  • Install PhantomJS to target/phantomjs/
  • Write properties for Selenium PhantomJS Driver to ...
    • target/phantomjs.properties file
    • System Property using System.setProperty()
    • javaOptions of sbt

About

An automated PhantomJS installer and configurator for sbt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%