Module

PhantomJS.Phantom

Package
purescript-phantom
Repository
purescripters/purescript-phantom

#PHANTOMJS Source

#CookieRec Source

type CookieRec = { domain :: String, httponly :: Boolean, name :: String, path :: String, secure :: Boolean, value :: String }

#Cookie Source

data Cookie

Constructors

Instances

#VersionRec Source

type VersionRec = { major :: Int, minor :: Int, patch :: Int }

#Version Source

#isCookiesEnabled Source

isCookiesEnabled :: forall eff. Eff (phantomjs :: PHANTOMJS | eff) Boolean

#setCookiesEnabled Source

setCookiesEnabled :: Boolean -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Unit)

#cookies Source

cookies :: forall eff. Eff (phantomjs :: PHANTOMJS | eff) (Array Cookie)

#getLibraryPath Source

getLibraryPath :: forall eff. Eff (phantomjs :: PHANTOMJS | eff) String

#setLibraryPath Source

setLibraryPath :: String -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Unit)

#version Source

version :: forall eff. Eff (phantomjs :: PHANTOMJS | eff) Version

#addCookie Source

addCookie :: Cookie -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Boolean)

#clearCookies Source

clearCookies :: forall eff. Eff (phantomjs :: PHANTOMJS | eff) Unit

#deleteCookie Source

deleteCookie :: String -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Boolean)

#exit Source

exit :: Int -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Unit)

#injectJs Source

injectJs :: String -> (forall eff. Eff (phantomjs :: PHANTOMJS | eff) Boolean)