C# Class QualityBot.Scrapers.Facades.PhantomJsFacade

Inheritance: IBrowserFacade
Show file Open project: Ancestry/quality-bot Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
PhantomJsFacade ( Request request ) : System
ScrapeData ( bool useCurrent = true ) : PageData

Private Methods

Method Description
Config ( ) : void
GetCookies ( ) : string[]
GetPageResources ( ) : IEnumerable
GetScreenshotImage ( ) : Image
GetViewportSize ( ) : Size
IsLinux ( ) : bool

Determines if the current platform is Linux.

RunCmd ( string exePath, string args ) : void

Runs the specified executable.

RunUserScript ( ) : void
ScrapePage ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PhantomJsFacade() public method

public PhantomJsFacade ( Request request ) : System
request QualityBot.RequestPocos.Request
return System

ScrapeData() public method

public ScrapeData ( bool useCurrent = true ) : PageData
useCurrent bool
return PageData