C# Class QualityBot.Scrapers.Facades.WebDriverFacade

Inheritance: IBrowserFacade
Afficher le fichier Open project: Ancestry/quality-bot Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ScrapeData ( bool useCurrent = true ) : PageData
WebDriverFacade ( IWebDriver web, Request request, ITakesScreenshot ss = null, IJavaScriptExecutor js = null ) : System

Private Methods

Méthode Description
BrowserName ( ) : string
BrowserVersion ( ) : string
GetBrowserInfo ( ) : void
GetCookies ( ) : string[]
GetElements ( ) : string
GetPageResources ( ) : IEnumerable
GetPageSource ( ) : string
GetScreenshotImage ( ) : Image
GetUrl ( ) : string
GetViewportSize ( ) : Size
InjectJavascriptHelpers ( ) : void
IntFromObject ( object number ) : int
Platform ( ) : string
RunUserScript ( ) : void
SetUrl ( ) : void
SetViewportSize ( ) : void

Sets the browser viewport to the specified size.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ScrapeData() public méthode

public ScrapeData ( bool useCurrent = true ) : PageData
useCurrent bool
Résultat PageData

WebDriverFacade() public méthode

public WebDriverFacade ( IWebDriver web, Request request, ITakesScreenshot ss = null, IJavaScriptExecutor js = null ) : System
web IWebDriver
request QualityBot.RequestPocos.Request
ss ITakesScreenshot
js IJavaScriptExecutor
Résultat System