SYMBOL INDEX (1110 symbols across 51 files) FILE: docs/server.py function cmd (line 21) | def cmd() -> None: function docs (line 32) | def docs(p: str) -> str: FILE: pyppeteer/browser.py class Browser (line 21) | class Browser(EventEmitter): method __init__ (line 36) | def __init__(self, connection: Connection, contextIds: List[str], method process (line 82) | def process(self) -> Optional[Popen]: method createIncogniteBrowserContext (line 90) | async def createIncogniteBrowserContext(self) -> 'BrowserContext': method createIncognitoBrowserContext (line 101) | async def createIncognitoBrowserContext(self) -> 'BrowserContext': method browserContexts (line 124) | def browserContexts(self) -> List['BrowserContext']: method _disposeContext (line 132) | async def _disposeContext(self, contextId: str) -> None: method create (line 139) | async def create(connection: Connection, contextIds: List[str], method _targetCreated (line 150) | async def _targetCreated(self, event: Dict) -> None: method _targetDestroyed (line 175) | async def _targetDestroyed(self, event: Dict) -> None: method _targetInfoChanged (line 184) | async def _targetInfoChanged(self, event: Dict) -> None: method wsEndpoint (line 196) | def wsEndpoint(self) -> str: method newPage (line 200) | async def newPage(self) -> Page: method _createPageInContext (line 204) | async def _createPageInContext(self, contextId: Optional[str]) -> Page: method targets (line 221) | def targets(self) -> List[Target]: method pages (line 230) | async def pages(self) -> List[Page]: method version (line 245) | async def version(self) -> str: method userAgent (line 250) | async def userAgent(self) -> str: method close (line 260) | async def close(self) -> None: method disconnect (line 264) | async def disconnect(self) -> None: method _getVersion (line 271) | def _getVersion(self) -> Awaitable: class BrowserContext (line 275) | class BrowserContext(EventEmitter): method __init__ (line 307) | def __init__(self, browser: Browser, contextId: Optional[str]) -> None: method targets (line 312) | def targets(self) -> List[Target]: method pages (line 320) | async def pages(self) -> List[Page]: method isIncognite (line 335) | def isIncognite(self) -> bool: method isIncognito (line 346) | def isIncognito(self) -> bool: method newPage (line 356) | async def newPage(self) -> Page: method browser (line 361) | def browser(self) -> Browser: method close (line 365) | async def close(self) -> None: FILE: pyppeteer/chromium_downloader.py function current_platform (line 55) | def current_platform() -> str: function get_url (line 68) | def get_url() -> str: function download_zip (line 73) | def download_zip(url: str) -> BytesIO: function extract_zip (line 103) | def extract_zip(data: BytesIO, path: Path) -> None: function download_chromium (line 136) | def download_chromium() -> None: function chromium_executable (line 141) | def chromium_executable() -> Path: function check_chromium (line 146) | def check_chromium() -> bool: FILE: pyppeteer/command.py function install (line 11) | def install() -> None: FILE: pyppeteer/connection.py class Connection (line 25) | class Connection(EventEmitter): method __init__ (line 28) | def __init__(self, url: str, loop: asyncio.AbstractEventLoop, method url (line 49) | def url(self) -> str: method _recv_loop (line 53) | async def _recv_loop(self) -> None: method _async_send (line 69) | async def _async_send(self, msg: str, callback_id: int) -> None: method send (line 81) | def send(self, method: str, params: dict = None) -> Awaitable: method _on_response (line 103) | def _on_response(self, msg: dict) -> None: method _on_query (line 116) | def _on_query(self, msg: dict) -> None: method setClosedCallback (line 132) | def setClosedCallback(self, callback: Callable[[], None]) -> None: method _on_message (line 136) | async def _on_message(self, message: str) -> None: method _on_close (line 145) | async def _on_close(self) -> None: method dispose (line 167) | async def dispose(self) -> None: method createSession (line 172) | async def createSession(self, targetInfo: Dict) -> 'CDPSession': class CDPSession (line 184) | class CDPSession(EventEmitter): method __init__ (line 197) | def __init__(self, connection: Union[Connection, 'CDPSession'], method send (line 210) | def send(self, method: str, params: dict = None) -> Awaitable: method _on_message (line 246) | def _on_message(self, msg: str) -> None: # noqa: C901 method detach (line 278) | async def detach(self) -> None: method _on_closed (line 289) | def _on_closed(self) -> None: method _createSession (line 298) | def _createSession(self, targetType: str, sessionId: str) -> 'CDPSessi... function _createProtocolError (line 304) | def _createProtocolError(error: Exception, method: str, obj: Dict function _rewriteError (line 312) | def _rewriteError(error: Exception, message: str) -> Exception: FILE: pyppeteer/coverage.py class Coverage (line 20) | class Coverage(object): method __init__ (line 49) | def __init__(self, client: CDPSession) -> None: method startJSCoverage (line 53) | async def startJSCoverage(self, options: Dict = None, **kwargs: Any method stopJSCoverage (line 74) | async def stopJSCoverage(self) -> List: method startCSSCoverage (line 93) | async def startCSSCoverage(self, options: Dict = None, **kwargs: Any method stopCSSCoverage (line 105) | async def stopCSSCoverage(self) -> List: class JSCoverage (line 126) | class JSCoverage(object): method __init__ (line 129) | def __init__(self, client: CDPSession) -> None: method start (line 137) | async def start(self, options: Dict = None, **kwargs: Any) -> None: method _onExecutionContextsCleared (line 163) | def _onExecutionContextsCleared(self, event: Dict) -> None: method _onScriptParsed (line 169) | async def _onScriptParsed(self, event: Dict) -> None: method stop (line 193) | async def stop(self) -> List: class CSSCoverage (line 219) | class CSSCoverage(object): method __init__ (line 222) | def __init__(self, client: CDPSession) -> None: method start (line 230) | async def start(self, options: Dict = None, **kwargs: Any) -> None: method _onExecutionContextsCleared (line 253) | def _onExecutionContextsCleared(self, event: Dict) -> None: method _onStyleSheet (line 259) | async def _onStyleSheet(self, event: Dict) -> None: method stop (line 275) | async def stop(self) -> List: function convertToDisjointRanges (line 310) | def convertToDisjointRanges(nestedRanges: List[Any] # noqa: C901 FILE: pyppeteer/dialog.py class Dialog (line 11) | class Dialog(object): method __init__ (line 42) | def __init__(self, client: CDPSession, type: str, message: str, method type (line 51) | def type(self) -> str: method message (line 59) | def message(self) -> str: method defaultValue (line 64) | def defaultValue(self) -> str: method accept (line 71) | async def accept(self, promptText: str = '') -> None: method dismiss (line 83) | async def dismiss(self) -> None: FILE: pyppeteer/element_handle.py class ElementHandle (line 25) | class ElementHandle(JSHandle): method __init__ (line 40) | def __init__(self, context: ExecutionContext, client: CDPSession, method asElement (line 50) | def asElement(self) -> 'ElementHandle': method contentFrame (line 54) | async def contentFrame(self) -> Optional['Frame']: method _scrollIntoViewIfNeeded (line 67) | async def _scrollIntoViewIfNeeded(self) -> None: method _clickablePoint (line 101) | async def _clickablePoint(self) -> Dict[str, float]: # noqa: C901 method _getBoxModel (line 131) | async def _getBoxModel(self) -> Optional[Dict]: method _fromProtocolQuad (line 142) | def _fromProtocolQuad(self, quad: List[int]) -> List[Dict[str, int]]: method hover (line 150) | async def hover(self) -> None: method click (line 162) | async def click(self, options: dict = None, **kwargs: Any) -> None: method uploadFile (line 183) | async def uploadFile(self, *filePaths: str) -> dict: method tap (line 192) | async def tap(self) -> None: method focus (line 204) | async def focus(self) -> None: method type (line 209) | async def type(self, text: str, options: Dict = None, **kwargs: Any method press (line 219) | async def press(self, key: str, options: Dict = None, **kwargs: Any method boundingBox (line 240) | async def boundingBox(self) -> Optional[Dict[str, float]]: method boxModel (line 264) | async def boxModel(self) -> Optional[Dict]: method screenshot (line 295) | async def screenshot(self, options: Dict = None, **kwargs: Any) -> bytes: method querySelector (line 353) | async def querySelector(self, selector: str) -> Optional['ElementHandl... method querySelectorAll (line 368) | async def querySelectorAll(self, selector: str) -> List['ElementHandle']: method querySelectorEval (line 386) | async def querySelectorEval(self, selector: str, pageFunction: str, method querySelectorAllEval (line 418) | async def querySelectorAllEval(self, selector: str, pageFunction: str, method xpath (line 462) | async def xpath(self, expression: str) -> List['ElementHandle']: method isIntersectingViewport (line 493) | async def isIntersectingViewport(self) -> bool: function _computeQuadArea (line 507) | def _computeQuadArea(quad: List[Dict]) -> float: FILE: pyppeteer/emulation_manager.py class EmulationManager (line 10) | class EmulationManager(object): method __init__ (line 13) | def __init__(self, client: CDPSession) -> None: method emulateViewport (line 19) | async def emulateViewport(self, viewport: dict) -> bool: FILE: pyppeteer/errors.py class PyppeteerError (line 9) | class PyppeteerError(Exception): # noqa: D204 class BrowserError (line 14) | class BrowserError(PyppeteerError): # noqa: D204 class ElementHandleError (line 19) | class ElementHandleError(PyppeteerError): # noqa: D204 class NetworkError (line 24) | class NetworkError(PyppeteerError): # noqa: D204 class PageError (line 29) | class PageError(PyppeteerError): # noqa: D204 class TimeoutError (line 34) | class TimeoutError(asyncio.TimeoutError): # noqa: D204 FILE: pyppeteer/execution_context.py class ExecutionContext (line 29) | class ExecutionContext(object): method __init__ (line 32) | def __init__(self, client: CDPSession, contextPayload: Dict, method frame (line 43) | def frame(self) -> Optional['Frame']: method evaluate (line 47) | async def evaluate(self, pageFunction: str, *args: Any, method evaluateHandle (line 66) | async def evaluateHandle(self, pageFunction: str, *args: Any, # noqa:... method _convertArgument (line 117) | def _convertArgument(self, arg: Any) -> Dict: # noqa: C901 method queryObjects (line 135) | async def queryObjects(self, prototypeHandle: 'JSHandle') -> 'JSHandle': class JSHandle (line 151) | class JSHandle(object): method __init__ (line 158) | def __init__(self, context: ExecutionContext, client: CDPSession, method executionContext (line 166) | def executionContext(self) -> ExecutionContext: method getProperty (line 170) | async def getProperty(self, propertyName: str) -> 'JSHandle': method getProperties (line 183) | async def getProperties(self) -> Dict[str, 'JSHandle']: method jsonValue (line 197) | async def jsonValue(self) -> Dict: method asElement (line 210) | def asElement(self) -> Optional['ElementHandle']: method dispose (line 214) | async def dispose(self) -> None: method toString (line 224) | def toString(self) -> str: function _rewriteError (line 234) | def _rewriteError(error: Exception) -> None: FILE: pyppeteer/frame_manager.py class FrameManager (line 25) | class FrameManager(EventEmitter): method __init__ (line 36) | def __init__(self, client: CDPSession, frameTree: Dict, page: Any) -> ... method _onLifecycleEvent (line 74) | def _onLifecycleEvent(self, event: Dict) -> None: method _onFrameStoppedLoading (line 81) | def _onFrameStoppedLoading(self, frameId: str) -> None: method _handleFrameTree (line 88) | def _handleFrameTree(self, frameTree: Dict) -> None: method mainFrame (line 102) | def mainFrame(self) -> Optional['Frame']: method frames (line 106) | def frames(self) -> List['Frame']: method frame (line 110) | def frame(self, frameId: str) -> Optional['Frame']: method _onFrameAttached (line 114) | def _onFrameAttached(self, frameId: str, parentFrameId: str) -> None: method _onFrameNavigated (line 122) | def _onFrameNavigated(self, framePayload: dict) -> None: method _onFrameNavigatedWithinDocument (line 154) | def _onFrameNavigatedWithinDocument(self, frameId: str, url: str) -> N... method _onFrameDetached (line 162) | def _onFrameDetached(self, frameId: str) -> None: method _onExecutionContextCreated (line 167) | def _onExecutionContextCreated(self, contextPayload: Dict) -> None: method _onExecutionContextDestroyed (line 191) | def _onExecutionContextDestroyed(self, executionContextId: str) -> None: method _onExecutionContextsCleared (line 201) | def _onExecutionContextsCleared(self) -> None: method executionContextById (line 208) | def executionContextById(self, contextId: str) -> ExecutionContext: method createJSHandle (line 217) | def createJSHandle(self, context: ExecutionContext, method _removeFramesRecursively (line 227) | def _removeFramesRecursively(self, frame: 'Frame') -> None: class Frame (line 235) | class Frame(object): method __init__ (line 241) | def __init__(self, client: CDPSession, parentFrame: Optional['Frame'], method _addExecutionContext (line 260) | def _addExecutionContext(self, context: ExecutionContext) -> None: method _removeExecutionContext (line 264) | def _removeExecutionContext(self, context: ExecutionContext) -> None: method _setDefaultContext (line 268) | def _setDefaultContext(self, context: Optional[ExecutionContext]) -> N... method executionContext (line 281) | async def executionContext(self) -> Optional[ExecutionContext]: method evaluateHandle (line 289) | async def evaluateHandle(self, pageFunction: str, *args: Any) -> JSHan... method evaluate (line 299) | async def evaluate(self, pageFunction: str, *args: Any, method querySelector (line 311) | async def querySelector(self, selector: str) -> Optional[ElementHandle]: method _document (line 320) | async def _document(self) -> ElementHandle: method xpath (line 332) | async def xpath(self, expression: str) -> List[ElementHandle]: method querySelectorEval (line 343) | async def querySelectorEval(self, selector: str, pageFunction: str, method querySelectorAllEval (line 352) | async def querySelectorAllEval(self, selector: str, pageFunction: str, method querySelectorAll (line 362) | async def querySelectorAll(self, selector: str) -> List[ElementHandle]: method content (line 382) | async def content(self) -> str: method setContent (line 395) | async def setContent(self, html: str) -> None: method name (line 407) | def name(self) -> str: method url (line 412) | def url(self) -> str: method parentFrame (line 417) | def parentFrame(self) -> Optional['Frame']: method childFrames (line 425) | def childFrames(self) -> List['Frame']: method isDetached (line 429) | def isDetached(self) -> bool: method injectFile (line 436) | async def injectFile(self, filePath: str) -> str: method addScriptTag (line 445) | async def addScriptTag(self, options: Dict) -> ElementHandle: # noqa:... method addStyleTag (line 514) | async def addStyleTag(self, options: Dict) -> ElementHandle: method click (line 574) | async def click(self, selector: str, options: dict = None, **kwargs: Any method focus (line 587) | async def focus(self, selector: str) -> None: method hover (line 598) | async def hover(self, selector: str) -> None: method select (line 609) | async def select(self, selector: str, *values: str) -> List[str]: method tap (line 640) | async def tap(self, selector: str) -> None: method type (line 651) | async def type(self, selector: str, text: str, options: dict = None, method waitFor (line 664) | def waitFor(self, selectorOrFunctionOrTimeout: Union[str, int, float], method waitForSelector (line 691) | def waitForSelector(self, selector: str, options: dict = None, method waitForXPath (line 700) | def waitForXPath(self, xpath: str, options: dict = None, method waitForFunction (line 709) | def waitForFunction(self, pageFunction: str, options: dict = None, method _waitForSelectorOrXPath (line 721) | def _waitForSelectorOrXPath(self, selectorOrXPath: str, isXPath: bool, method title (line 771) | async def title(self) -> str: method _navigated (line 775) | def _navigated(self, framePayload: dict) -> None: method _navigatedWithinDocument (line 780) | def _navigatedWithinDocument(self, url: str) -> None: method _onLifecycleEvent (line 783) | def _onLifecycleEvent(self, loaderId: str, name: str) -> None: method _onLoadingStopped (line 790) | def _onLoadingStopped(self) -> None: method _detach (line 794) | def _detach(self) -> None: class WaitTask (line 804) | class WaitTask(object): method __init__ (line 810) | def __init__(self, frame: Frame, predicateBody: str, # noqa: C901 method __await__ (line 851) | def __await__(self) -> Generator: method terminate (line 858) | def terminate(self, error: Exception) -> None: method rerun (line 865) | async def rerun(self) -> None: # noqa: C901 method _cleanup (line 922) | def _cleanup(self) -> None: FILE: pyppeteer/helper.py function debugError (line 21) | def debugError(_logger: logging.Logger, msg: Any) -> None: function evaluationString (line 29) | def evaluationString(fun: str, *args: Any) -> str: function getExceptionMessage (line 38) | def getExceptionMessage(exceptionDetails: dict) -> str: function addEventListener (line 57) | def addEventListener(emitter: EventEmitter, eventName: str, handler: Cal... function removeEventListeners (line 64) | def removeEventListeners(listeners: List[dict]) -> None: function valueFromRemoteObject (line 83) | def valueFromRemoteObject(remoteObject: Dict) -> Any: function releaseObject (line 103) | def releaseObject(client: CDPSession, remoteObject: dict function waitForEvent (line 122) | def waitForEvent(emitter: EventEmitter, eventName: str, # noqa: C901 function get_positive_int (line 157) | def get_positive_int(obj: dict, name: str) -> int: function is_jsfunc (line 169) | def is_jsfunc(func: str) -> bool: # not in puppeteer FILE: pyppeteer/input.py class Keyboard (line 18) | class Keyboard(object): method __init__ (line 53) | def __init__(self, client: CDPSession) -> None: method down (line 58) | async def down(self, key: str, options: dict = None, **kwargs: Any method _modifierBit (line 103) | def _modifierBit(self, key: str) -> int: method _keyDescriptionForString (line 114) | def _keyDescriptionForString(self, keyString: str) -> Dict: # noqa: C901 method up (line 157) | async def up(self, key: str) -> None: method sendCharacter (line 176) | async def sendCharacter(self, char: str) -> None: method type (line 188) | async def type(self, text: str, options: Dict = None, **kwargs: Any method press (line 217) | async def press(self, key: str, options: Dict = None, **kwargs: Any class Mouse (line 247) | class Mouse(object): method __init__ (line 254) | def __init__(self, client: CDPSession, keyboard: Keyboard) -> None: method move (line 261) | async def move(self, x: float, y: float, options: dict = None, method click (line 285) | async def click(self, x: float, y: float, options: dict = None, method down (line 306) | async def down(self, options: dict = None, **kwargs: Any) -> None: method up (line 326) | async def up(self, options: dict = None, **kwargs: Any) -> None: class Touchscreen (line 347) | class Touchscreen(object): method __init__ (line 350) | def __init__(self, client: CDPSession, keyboard: Keyboard) -> None: method tap (line 355) | async def tap(self, x: float, y: float) -> None: FILE: pyppeteer/launcher.py class Launcher (line 67) | class Launcher(object): method __init__ (line 70) | def __init__(self, options: Dict[str, Any] = None, # noqa: C901 method _cleanup_tmp_user_data_dir (line 125) | def _cleanup_tmp_user_data_dir(self) -> None: method launch (line 136) | async def launch(self) -> Browser: # noqa: C901 method ensureInitialPage (line 176) | async def ensureInitialPage(self, browser: Browser) -> None: method waitForChromeToClose (line 195) | def waitForChromeToClose(self) -> None: method killChrome (line 206) | async def killChrome(self) -> None: function get_ws_endpoint (line 222) | def get_ws_endpoint(url) -> str: function launch (line 239) | async def launch(options: dict = None, **kwargs: Any) -> Browser: function connect (line 310) | async def connect(options: dict = None, **kwargs: Any) -> Browser: function executablePath (line 360) | def executablePath() -> str: function defaultArgs (line 365) | def defaultArgs(options: Dict = None, **kwargs: Any) -> List[str]: # no... FILE: pyppeteer/multimap.py class Multimap (line 10) | class Multimap(object): method __init__ (line 13) | def __init__(self) -> None: method set (line 18) | def set(self, key: Optional[str], value: Any) -> None: method get (line 27) | def get(self, key: Optional[str]) -> List[Any]: method has (line 31) | def has(self, key: Optional[str]) -> bool: method hasValue (line 35) | def hasValue(self, key: Optional[str], value: Any) -> bool: method size (line 40) | def size(self) -> int: method delete (line 44) | def delete(self, key: Optional[str], value: Any) -> bool: method deleteAll (line 54) | def deleteAll(self, key: Optional[str]) -> None: method firstValue (line 58) | def firstValue(self, key: Optional[str]) -> Any: method firstKey (line 65) | def firstKey(self) -> Optional[str]: method valuesArray (line 69) | def valuesArray(self) -> List[Any]: method clear (line 76) | def clear(self) -> None: FILE: pyppeteer/navigator_watcher.py class NavigatorWatcher (line 16) | class NavigatorWatcher: method __init__ (line 19) | def __init__(self, frameManager: FrameManager, frame: Frame, timeout: ... method _validate_options (line 56) | def _validate_options(self, options: Dict) -> None: # noqa: C901 method _createTimeoutPromise (line 90) | def _createTimeoutPromise(self) -> Awaitable[None]: method navigationPromise (line 104) | def navigationPromise(self) -> Any: method _navigatedWithinDocument (line 108) | def _navigatedWithinDocument(self, frame: Frame = None) -> None: method _checkLifecycleComplete (line 114) | def _checkLifecycleComplete(self, frame: Frame = None) -> None: method _checkLifecycle (line 124) | def _checkLifecycle(self, frame: Frame, expectedLifecycle: List[str] method cancel (line 134) | def cancel(self) -> None: method _cleanup (line 138) | def _cleanup(self) -> None: FILE: pyppeteer/network_manager.py class NetworkManager (line 30) | class NetworkManager(EventEmitter): method __init__ (line 40) | def __init__(self, client: CDPSession, frameManager: FrameManager) -> ... method authenticate (line 68) | async def authenticate(self, credentials: Dict[str, str]) -> None: method setExtraHTTPHeaders (line 73) | async def setExtraHTTPHeaders(self, extraHTTPHeaders: Dict[str, str] method extraHTTPHeaders (line 86) | def extraHTTPHeaders(self) -> Dict[str, str]: method setOfflineMode (line 90) | async def setOfflineMode(self, value: bool) -> None: method setUserAgent (line 102) | async def setUserAgent(self, userAgent: str) -> None: method setRequestInterception (line 107) | async def setRequestInterception(self, value: bool) -> None: method _updateProtocolRequestInterception (line 112) | async def _updateProtocolRequestInterception(self) -> None: method _onRequestWillBeSent (line 130) | async def _onRequestWillBeSent(self, event: Dict) -> None: method _send (line 143) | async def _send(self, method: str, msg: dict) -> None: method _onRequestIntercepted (line 149) | def _onRequestIntercepted(self, event: dict) -> None: # noqa: C901 method _onRequest (line 190) | def _onRequest(self, event: Dict, interceptionId: Optional[str]) -> None: method _onRequestServedFromCache (line 221) | def _onRequestServedFromCache(self, event: Dict) -> None: method _handleRequestRedirect (line 226) | def _handleRequestRedirect(self, request: 'Request', redirectStatus: int, method _handleRequestStart (line 243) | def _handleRequestStart(self, requestId: str, method _onResponseReceived (line 260) | def _onResponseReceived(self, event: dict) -> None: method _onLoadingFinished (line 275) | def _onLoadingFinished(self, event: dict) -> None: method _onLoadingFailed (line 288) | def _onLoadingFailed(self, event: dict) -> None: class Request (line 303) | class Request(object): method __init__ (line 323) | def __init__(self, client: CDPSession, requestId: Optional[str], method url (line 350) | def url(self) -> str: method resourceType (line 355) | def resourceType(self) -> str: method method (line 366) | def method(self) -> Optional[str]: method postData (line 371) | def postData(self) -> Optional[str]: method headers (line 376) | def headers(self) -> Dict: method response (line 384) | def response(self) -> Optional['Response']: method frame (line 392) | def frame(self) -> Optional[Frame]: method isNavigationRequest (line 399) | def isNavigationRequest(self) -> bool: method redirectChain (line 404) | def redirectChain(self) -> List['Request']: method failure (line 416) | def failure(self) -> Optional[Dict]: method continue_ (line 430) | async def continue_(self, overrides: Dict = None) -> None: method respond (line 460) | async def respond(self, response: Dict) -> None: # noqa: C901 method abort (line 519) | async def abort(self, errorCode: str = 'failed') -> None: class Response (line 587) | class Response(object): method __init__ (line 590) | def __init__(self, client: CDPSession, request: Request, status: int, method _bodyLoadedPromiseFulfill (line 614) | def _bodyLoadedPromiseFulfill(self, value: Optional[Exception]) -> None: method url (line 618) | def url(self) -> str: method ok (line 623) | def ok(self) -> bool: method status (line 628) | def status(self) -> int: method headers (line 633) | def headers(self) -> Dict: method securityDetails (line 641) | def securityDetails(self) -> Union[Dict, 'SecurityDetails']: method _bufread (line 649) | async def _bufread(self) -> bytes: method buffer (line 661) | def buffer(self) -> Awaitable[bytes]: method text (line 667) | async def text(self) -> str: method json (line 675) | async def json(self) -> dict: method request (line 681) | def request(self) -> Request: method fromCache (line 686) | def fromCache(self) -> bool: method fromServiceWorker (line 694) | def fromServiceWorker(self) -> bool: function generateRequestHash (line 699) | def generateRequestHash(request: dict) -> str: class SecurityDetails (line 731) | class SecurityDetails(object): method __init__ (line 734) | def __init__(self, subjectName: str, issuer: str, validFrom: int, method subjectName (line 743) | def subjectName(self) -> str: method issuer (line 748) | def issuer(self) -> str: method validFrom (line 753) | def validFrom(self) -> int: method validTo (line 758) | def validTo(self) -> int: method protocol (line 763) | def protocol(self) -> str: FILE: pyppeteer/page.py class Page (line 40) | class Page(EventEmitter): method create (line 86) | async def create( method __init__ (line 113) | def __init__( method target (line 199) | def target(self) -> 'Target': method browser (line 204) | def browser(self) -> 'Browser': method _onTargetCrashed (line 208) | def _onTargetCrashed(self, *args: Any, **kwargs: Any) -> None: method _onLogEntryAdded (line 211) | def _onLogEntryAdded(self, event: Dict) -> None: method mainFrame (line 224) | def mainFrame(self) -> Optional['Frame']: method keyboard (line 229) | def keyboard(self) -> Keyboard: method touchscreen (line 234) | def touchscreen(self) -> Touchscreen: method coverage (line 239) | def coverage(self) -> Coverage: method tap (line 243) | async def tap(self, selector: str) -> None: method tracing (line 254) | def tracing(self) -> 'Tracing': method frames (line 259) | def frames(self) -> List['Frame']: method workers (line 264) | def workers(self) -> List[Worker]: method setRequestInterception (line 268) | async def setRequestInterception(self, value: bool) -> None: method setOfflineMode (line 303) | async def setOfflineMode(self, enabled: bool) -> None: method setDefaultNavigationTimeout (line 307) | def setDefaultNavigationTimeout(self, timeout: int) -> None: method _send (line 324) | async def _send(self, method: str, msg: dict) -> None: method _onCertificateError (line 330) | def _onCertificateError(self, event: Any) -> None: method querySelector (line 337) | async def querySelector(self, selector: str) -> Optional[ElementHandle]: method evaluateHandle (line 351) | async def evaluateHandle(self, pageFunction: str, *args: Any) -> JSHan... method queryObjects (line 367) | async def queryObjects(self, prototypeHandle: JSHandle) -> JSHandle: method querySelectorEval (line 379) | async def querySelectorEval(self, selector: str, pageFunction: str, *a... method querySelectorAllEval (line 395) | async def querySelectorAllEval(self, selector: str, pageFunction: str,... method querySelectorAll (line 409) | async def querySelectorAll(self, selector: str) -> List[ElementHandle]: method xpath (line 423) | async def xpath(self, expression: str) -> List[ElementHandle]: method cookies (line 446) | async def cookies(self, *urls: str) -> List[Dict[str, Union[str, int, ... method deleteCookie (line 471) | async def deleteCookie(self, *cookies: dict) -> None: method setCookie (line 489) | async def setCookie(self, *cookies: dict) -> None: method addScriptTag (line 522) | async def addScriptTag(self, options: Dict = None, **kwargs: str) -> E... method addStyleTag (line 541) | async def addStyleTag(self, options: Dict = None, **kwargs: str) -> El... method injectFile (line 558) | async def injectFile(self, filePath: str) -> str: method exposeFunction (line 568) | async def exposeFunction(self, name: str, pyppeteerFunction: Callable[... method authenticate (line 613) | async def authenticate(self, credentials: Dict[str, str]) -> Any: method setExtraHTTPHeaders (line 621) | async def setExtraHTTPHeaders(self, headers: Dict[str, str]) -> None: method setUserAgent (line 637) | async def setUserAgent(self, userAgent: str) -> None: method metrics (line 644) | async def metrics(self) -> Dict[str, Any]: method _emitMetrics (line 671) | def _emitMetrics(self, event: Dict) -> None: method _buildMetricsObject (line 676) | def _buildMetricsObject(self, metrics: List) -> Dict[str, Any]: method _handleException (line 683) | def _handleException(self, exceptionDetails: Dict) -> None: method _onConsoleAPI (line 687) | def _onConsoleAPI(self, event: dict) -> None: method _onBindingCalled (line 695) | def _onBindingCalled(self, event: Dict) -> None: method _addConsoleMessage (line 715) | def _addConsoleMessage(self, type: str, args: List[JSHandle]) -> None: method _onDialog (line 732) | def _onDialog(self, event: Any) -> None: method url (line 747) | def url(self) -> str: method content (line 754) | async def content(self) -> str: method setContent (line 764) | async def setContent(self, html: str) -> None: method goto (line 774) | async def goto(self, url: str, options: dict = None, **kwargs: Any) ->... method _navigate (line 843) | async def _navigate(self, url: str, referrer: str) -> Optional[str]: method reload (line 849) | async def reload(self, options: dict = None, **kwargs: Any) -> Optiona... method waitForNavigation (line 858) | async def waitForNavigation(self, options: dict = None, **kwargs: Any)... method waitForRequest (line 912) | async def waitForRequest( method waitForResponse (line 946) | async def waitForResponse( method goBack (line 980) | async def goBack(self, options: dict = None, **kwargs: Any) -> Optiona... method goForward (line 990) | async def goForward(self, options: dict = None, **kwargs: Any) -> Opti... method _go (line 1000) | async def _go(self, delta: int, options: dict) -> Optional[Response]: method bringToFront (line 1015) | async def bringToFront(self) -> None: method emulate (line 1019) | async def emulate(self, options: dict = None, **kwargs: Any) -> None: method setJavaScriptEnabled (line 1050) | async def setJavaScriptEnabled(self, enabled: bool) -> None: method setBypassCSP (line 1057) | async def setBypassCSP(self, enabled: bool) -> None: method emulateMedia (line 1067) | async def emulateMedia(self, mediaType: str = None) -> None: method setViewport (line 1079) | async def setViewport(self, viewport: dict) -> None: method viewport (line 1096) | def viewport(self) -> Optional[Dict]: method evaluate (line 1103) | async def evaluate(self, pageFunction: str, *args: Any, force_expr: bo... method evaluateOnNewDocument (line 1119) | async def evaluateOnNewDocument(self, pageFunction: str, *args: str) -... method setCacheEnabled (line 1131) | async def setCacheEnabled(self, enabled: bool = True) -> None: method screenshot (line 1138) | async def screenshot(self, options: dict = None, **kwargs: Any) -> Uni... method _screenshotTask (line 1182) | async def _screenshotTask(self, format: str, options: dict) -> Union[b... method pdf (line 1251) | async def pdf(self, options: dict = None, **kwargs: Any) -> bytes: method plainText (line 1401) | async def plainText(self) -> str: method title (line 1406) | async def title(self) -> str: method close (line 1413) | async def close(self, options: Dict = None, **kwargs: Any) -> None: method isClosed (line 1440) | def isClosed(self) -> bool: method mouse (line 1445) | def mouse(self) -> Mouse: method click (line 1449) | async def click(self, selector: str, options: dict = None, **kwargs: A... method hover (line 1480) | async def hover(self, selector: str) -> None: method focus (line 1490) | async def focus(self, selector: str) -> None: method select (line 1500) | async def select(self, selector: str, *values: str) -> List[str]: method type (line 1510) | async def type(self, selector: str, text: str, options: dict = None, *... method waitFor (line 1522) | def waitFor( method waitForSelector (line 1557) | def waitForSelector(self, selector: str, options: dict = None, **kwarg... method waitForXPath (line 1585) | def waitForXPath(self, xpath: str, options: dict = None, **kwargs: Any... method waitForFunction (line 1614) | def waitForFunction(self, pageFunction: str, options: dict = None, *ar... function convertPrintParameterToInches (line 1665) | def convertPrintParameterToInches(parameter: Union[None, int, float, str... class ConsoleMessage (line 1689) | class ConsoleMessage(object): method __init__ (line 1695) | def __init__(self, type: str, text: str, args: List[JSHandle] = None) ... method type (line 1704) | def type(self) -> str: method text (line 1709) | def text(self) -> str: method args (line 1714) | def args(self) -> List[JSHandle]: FILE: pyppeteer/target.py class Target (line 17) | class Target(object): method __init__ (line 20) | def __init__(self, targetInfo: Dict, browserContext: 'BrowserContext', method _initializedCallback (line 42) | def _initializedCallback(self, bl: bool) -> None: method _closedCallback (line 48) | def _closedCallback(self) -> None: method createCDPSession (line 51) | async def createCDPSession(self) -> CDPSession: method page (line 55) | async def page(self) -> Optional[Page]: method url (line 75) | def url(self) -> str: method type (line 80) | def type(self) -> str: method browser (line 92) | def browser(self) -> 'Browser': method browserContext (line 97) | def browserContext(self) -> 'BrowserContext': method opener (line 102) | def opener(self) -> Optional['Target']: method _targetInfoChanged (line 112) | def _targetInfoChanged(self, targetInfo: Dict) -> None: FILE: pyppeteer/tracing.py class Tracing (line 13) | class Tracing(object): method __init__ (line 27) | def __init__(self, client: CDPSession) -> None: method start (line 32) | async def start(self, options: dict = None, **kwargs: Any) -> None: method stop (line 66) | async def stop(self) -> str: method _readStream (line 84) | async def _readStream(self, handle: str, path: str) -> str: FILE: pyppeteer/util.py function get_free_port (line 22) | def get_free_port() -> int: function merge_dict (line 33) | def merge_dict(dict1: Optional[Dict], dict2: Optional[Dict]) -> Dict: FILE: pyppeteer/worker.py class Worker (line 20) | class Worker(EventEmitter): method __init__ (line 31) | def __init__(self, client: 'CDPSession', url: str, # noqa: C901 method _executionContextCallback (line 75) | def _executionContextCallback(self, value: ExecutionContext) -> None: method url (line 79) | def url(self) -> str: method executionContext (line 83) | async def executionContext(self) -> ExecutionContext: method evaluate (line 87) | async def evaluate(self, pageFunction: str, *args: Any) -> Any: method evaluateHandle (line 95) | async def evaluateHandle(self, pageFunction: str, *args: Any) -> JSHan... FILE: tests/base.py class BaseTestCase (line 16) | class BaseTestCase(unittest.TestCase): method setUpClass (line 18) | def setUpClass(cls): method tearDownClass (line 26) | def tearDownClass(cls): method setUp (line 30) | def setUp(self): method tearDown (line 35) | def tearDown(self): method set_result (line 40) | def set_result(self, value): FILE: tests/closeme.py function main (line 9) | async def main() -> None: FILE: tests/dumpio.py function main (line 12) | async def main(): FILE: tests/frame_utils.py function attachFrame (line 8) | async def attachFrame(page: Page, frameId: str, url: str) -> None: function detachFrame (line 21) | async def detachFrame(page: Page, frameId: str) -> None: function navigateFrame (line 31) | async def navigateFrame(page: Page, frameId: str, url: str) -> None: function dumpFrames (line 42) | def dumpFrames(frame: Frame, indentation: str = '') -> str: FILE: tests/server.py class BaseHandler (line 26) | class BaseHandler(web.RequestHandler): method get (line 27) | def get(self) -> None: class MainHandler (line 34) | class MainHandler(BaseHandler): method get (line 35) | def get(self) -> None: class EmptyHandler (line 40) | class EmptyHandler(BaseHandler): method get (line 41) | def get(self) -> None: class LongHandler (line 46) | class LongHandler(BaseHandler): method get (line 47) | async def get(self) -> None: class LinkHandler1 (line 53) | class LinkHandler1(BaseHandler): method get (line 54) | def get(self) -> None: class RedirectHandler1 (line 64) | class RedirectHandler1(BaseHandler): method get (line 65) | def get(self) -> None: class RedirectHandler2 (line 70) | class RedirectHandler2(BaseHandler): method get (line 71) | def get(self) -> None: class RedirectHandler3 (line 76) | class RedirectHandler3(BaseHandler): method get (line 77) | def get(self) -> None: class ResourceRedirectHandler (line 82) | class ResourceRedirectHandler(BaseHandler): method get (line 83) | def get(self) -> None: class CSSRedirectHandler1 (line 91) | class CSSRedirectHandler1(BaseHandler): method get (line 92) | def get(self) -> None: class CSSRedirectHandler2 (line 97) | class CSSRedirectHandler2(BaseHandler): method get (line 98) | def get(self) -> None: class CSSRedirectHandler3 (line 103) | class CSSRedirectHandler3(BaseHandler): method get (line 104) | def get(self) -> None: class CSSRedirectHandler4 (line 109) | class CSSRedirectHandler4(BaseHandler): method get (line 110) | def get(self) -> None: class CSPHandler (line 115) | class CSPHandler(BaseHandler): method get (line 116) | def get(self) -> None: function auth_api (line 122) | def auth_api(username: str, password: str) -> bool: function basic_auth (line 129) | def basic_auth(auth: Callable[[str, str], bool]) -> Callable: class AuthHandler (line 158) | class AuthHandler(BaseHandler): method get (line 160) | def get(self) -> None: function log_handler (line 165) | def log_handler(handler: Any) -> None: function get_application (line 174) | def get_application() -> web.Application: FILE: tests/static/modernizr.js function o (line 3) | function o(e,n){return typeof e===n} function s (line 3) | function s(){var e,n,t,s,a,i,r;for(var l in c)if(c.hasOwnProperty(l)){if... function a (line 3) | function a(e){var n=u.className,t=Modernizr._config.classPrefix||"";if(p... function i (line 3) | function i(){return"function"!=typeof n.createElement?n.createElement(ar... function r (line 3) | function r(){var e=n.body;return e||(e=i(p?"svg":"body"),e.fake=!0),e} function l (line 3) | function l(e,t,o,s){var a,l,f,c,d="modernizr",p=i("div"),h=r();if(parseI... FILE: tests/static/mouse-helper.js function updateButtons (line 58) | function updateButtons(buttons) { FILE: tests/static/worker/worker.js function workerFunction (line 2) | function workerFunction() { FILE: tests/test_abnormal_crash.py class TestBrowserCrash (line 15) | class TestBrowserCrash(unittest.TestCase): method test_browser_crash_send (line 17) | async def test_browser_crash_send(self): FILE: tests/test_browser.py class TestBrowser (line 18) | class TestBrowser(unittest.TestCase): method waitForBackgroundPageTarget (line 29) | def waitForBackgroundPageTarget(self, browser): method test_browser_process (line 46) | async def test_browser_process(self): method test_version (line 56) | async def test_version(self): method test_user_agent (line 64) | async def test_user_agent(self): method test_disconnect (line 72) | async def test_disconnect(self): method test_crash (line 102) | async def test_crash(self): method test_background_target_type (line 117) | async def test_background_target_type(self): method test_OOPIF (line 127) | async def test_OOPIF(self): method test_background_page (line 156) | async def test_background_page(self): class TestPageClose (line 165) | class TestPageClose(BaseTestCase): method test_not_visible_in_browser_pages (line 167) | async def test_not_visible_in_browser_pages(self): method test_before_unload (line 174) | async def test_before_unload(self): method test_page_close_state (line 187) | async def test_page_close_state(self): FILE: tests/test_browser_context.py class BrowserBaseTestCase (line 16) | class BrowserBaseTestCase(BaseTestCase): method setUp (line 17) | def setUp(self): method tearDown (line 20) | def tearDown(self): class TestBrowserContext (line 24) | class TestBrowserContext(BrowserBaseTestCase): method test_default_context (line 26) | async def test_default_context(self): method test_incognito_context (line 36) | async def test_incognito_context(self): method test_close_all_targets_once (line 46) | async def test_close_all_targets_once(self): method test_window_open_use_parent_tab_context (line 56) | async def test_window_open_use_parent_tab_context(self): method test_fire_target_event (line 67) | async def test_fire_target_event(self): method test_isolate_local_storage_and_cookie (line 84) | async def test_isolate_local_storage_and_cookie(self): method test_across_session (line 125) | async def test_across_session(self): FILE: tests/test_connection.py class TestConnection (line 11) | class TestConnection(BaseTestCase): method test_error_msg (line 13) | async def test_error_msg(self): class TestCDPSession (line 19) | class TestCDPSession(BaseTestCase): method test_create_session (line 21) | async def test_create_session(self): method test_send_event (line 30) | async def test_send_event(self): method test_enable_disable_domain (line 39) | async def test_enable_disable_domain(self): method test_detach (line 47) | async def test_detach(self): FILE: tests/test_coverage.py class TestJSCoverage (line 9) | class TestJSCoverage(BaseTestCase): method test_js_coverage (line 11) | async def test_js_coverage(self): method test_js_coverage_source_url (line 26) | async def test_js_coverage_source_url(self): method test_js_coverage_ignore_empty (line 34) | async def test_js_coverage_ignore_empty(self): method test_ignore_eval_script_by_default (line 41) | async def test_ignore_eval_script_by_default(self): method test_not_ignore_eval_script_with_reportAnonymousScript (line 48) | async def test_not_ignore_eval_script_with_reportAnonymousScript(self): method test_ignore_injected_script (line 57) | async def test_ignore_injected_script(self): method test_ignore_injected_script_with_reportAnonymousScript (line 66) | async def test_ignore_injected_script_with_reportAnonymousScript(self): method test_js_coverage_multiple_script (line 75) | async def test_js_coverage_multiple_script(self): method test_js_coverage_ranges (line 85) | async def test_js_coverage_ranges(self): method test_no_coverage (line 99) | async def test_no_coverage(self): method test_js_coverage_condition (line 109) | async def test_js_coverage_condition(self): method test_js_coverage_no_reset_navigation (line 123) | async def test_js_coverage_no_reset_navigation(self): method test_js_coverage_reset_navigation (line 131) | async def test_js_coverage_reset_navigation(self): class TestCSSCoverage (line 139) | class TestCSSCoverage(BaseTestCase): method test_css_coverage (line 141) | async def test_css_coverage(self): method test_css_coverage_url (line 155) | async def test_css_coverage_url(self): method test_css_coverage_multiple (line 163) | async def test_css_coverage_multiple(self): method test_css_coverage_no_coverage (line 173) | async def test_css_coverage_no_coverage(self): method test_css_coverage_media (line 182) | async def test_css_coverage_media(self): method test_css_coverage_complicated (line 191) | async def test_css_coverage_complicated(self): method test_css_ignore_injected_css (line 203) | async def test_css_ignore_injected_css(self): method test_css_coverage_no_reset_navigation (line 215) | async def test_css_coverage_no_reset_navigation(self): method test_css_coverage_reset_navigation (line 223) | async def test_css_coverage_reset_navigation(self): FILE: tests/test_dialog.py class TestDialog (line 11) | class TestDialog(BaseTestCase): method test_alert (line 13) | async def test_alert(self): method test_prompt (line 23) | async def test_prompt(self): method test_prompt_dismiss (line 34) | async def test_prompt_dismiss(self): FILE: tests/test_element_handle.py class TestBoundingBox (line 16) | class TestBoundingBox(BaseTestCase): method test_bounding_box (line 18) | async def test_bounding_box(self): method test_nested_frame (line 26) | async def test_nested_frame(self): method test_invisible_element (line 43) | async def test_invisible_element(self): method test_force_layout (line 49) | async def test_force_layout(self): method test_svg (line 67) | async def test_svg(self): class TestBoxModel (line 82) | class TestBoxModel(BaseTestCase): method setUp (line 83) | def setUp(self): method tearDown (line 87) | def tearDown(self): method test_box_model (line 92) | async def test_box_model(self): method test_box_model_invisible (line 148) | async def test_box_model_invisible(self): method test_debug_error (line 155) | async def test_debug_error(self): class TestContentFrame (line 167) | class TestContentFrame(BaseTestCase): method test_content_frame (line 169) | async def test_content_frame(self): class TestClick (line 177) | class TestClick(BaseTestCase): method test_clik (line 179) | async def test_clik(self): method test_shadow_dom (line 186) | async def test_shadow_dom(self): method test_text_node (line 193) | async def test_text_node(self): method test_detached_node (line 203) | async def test_detached_node(self): method test_hidden_node (line 213) | async def test_hidden_node(self): method test_recursively_hidden_node (line 225) | async def test_recursively_hidden_node(self): method test_br_node (line 238) | async def test_br_node(self): class TestHover (line 249) | class TestHover(BaseTestCase): method test_hover (line 251) | async def test_hover(self): class TestIsIntersectingViewport (line 262) | class TestIsIntersectingViewport(BaseTestCase): method test_is_intersecting_viewport (line 264) | async def test_is_intersecting_viewport(self): class TestScreenshot (line 272) | class TestScreenshot(BaseTestCase): method test_screenshot_larger_than_viewport (line 274) | async def test_screenshot_larger_than_viewport(self): class TestQuerySelector (line 301) | class TestQuerySelector(BaseTestCase): method test_J (line 303) | async def test_J(self): method test_J_none (line 314) | async def test_J_none(self): method test_Jeval (line 323) | async def test_Jeval(self): method test_Jeval_subtree (line 335) | async def test_Jeval_subtree(self): method test_Jeval_with_missing_selector (line 343) | async def test_Jeval_with_missing_selector(self): method test_JJ (line 353) | async def test_JJ(self): method test_JJ_empty (line 369) | async def test_JJ_empty(self): method test_JJEval (line 378) | async def test_JJEval(self): method test_JJEval_subtree (line 389) | async def test_JJEval_subtree(self): method test_JJEval_missing_selector (line 403) | async def test_JJEval_missing_selector(self): method test_xpath (line 411) | async def test_xpath(self): method test_xpath_not_found (line 422) | async def test_xpath_not_found(self): FILE: tests/test_execution_context.py class TestQueryObject (line 11) | class TestQueryObject(BaseTestCase): method test_query_objects (line 13) | async def test_query_objects(self): method test_query_objects_disposed (line 32) | async def test_query_objects_disposed(self): method test_query_objects_primitive_value_error (line 42) | async def test_query_objects_primitive_value_error(self): class TestJSHandle (line 49) | class TestJSHandle(BaseTestCase): method test_get_property (line 51) | async def test_get_property(self): method test_json_value (line 59) | async def test_json_value(self): method test_json_date_fail (line 65) | async def test_json_date_fail(self): method test_json_circular_object_error (line 73) | async def test_json_circular_object_error(self): method test_get_properties (line 81) | async def test_get_properties(self): method test_return_non_own_properties (line 89) | async def test_return_non_own_properties(self): method test_as_element (line 109) | async def test_as_element(self): method test_as_element_non_element (line 115) | async def test_as_element_non_element(self): method test_as_element_text_node (line 121) | async def test_as_element_text_node(self): method test_to_string_number (line 133) | async def test_to_string_number(self): method test_to_string_str (line 138) | async def test_to_string_str(self): method test_to_string_complicated_object (line 143) | async def test_to_string_complicated_object(self): FILE: tests/test_frame.py class TestContext (line 19) | class TestContext(BaseTestCase): method test_frame_context (line 21) | async def test_frame_context(self): class TestEvaluateHandle (line 43) | class TestEvaluateHandle(BaseTestCase): method test_evaluate_handle (line 45) | async def test_evaluate_handle(self): class TestEvaluate (line 52) | class TestEvaluate(BaseTestCase): method test_frame_evaluate (line 54) | async def test_frame_evaluate(self): method test_frame_evaluate_after_navigation (line 68) | async def test_frame_evaluate_after_navigation(self): method test_frame_cross_site (line 80) | async def test_frame_cross_site(self): class TestWaitForFunction (line 90) | class TestWaitForFunction(BaseTestCase): method test_wait_for_expression (line 92) | async def test_wait_for_expression(self): method test_wait_for_function (line 100) | async def test_wait_for_function(self): method test_wait_for_function_args (line 108) | async def test_wait_for_function_args(self): method test_before_execution_context_resolved (line 116) | async def test_before_execution_context_resolved(self): method test_poll_on_interval (line 125) | async def test_poll_on_interval(self): method test_poll_on_mutation (line 144) | async def test_poll_on_mutation(self): method test_poll_on_raf (line 161) | async def test_poll_on_raf(self): method test_csp (line 175) | async def test_csp(self): method test_bad_polling_value (line 185) | async def test_bad_polling_value(self): method test_negative_polling_value (line 191) | async def test_negative_polling_value(self): method test_wait_for_function_return_value (line 198) | async def test_wait_for_function_return_value(self): method test_wait_for_function_window (line 203) | async def test_wait_for_function_window(self): method test_wait_for_function_arg_element (line 207) | async def test_wait_for_function_arg_element(self): method test_respect_timeout (line 220) | async def test_respect_timeout(self): method test_disable_timeout (line 229) | async def test_disable_timeout(self): class TestWaitForSelector (line 243) | class TestWaitForSelector(BaseTestCase): method test_wait_for_selector_immediate (line 245) | async def test_wait_for_selector_immediate(self): method test_wait_for_selector_after_node_appear (line 261) | async def test_wait_for_selector_after_node_appear(self): method test_wait_for_selector_inner_html (line 278) | async def test_wait_for_selector_inner_html(self): method test_shortcut_for_main_frame (line 285) | async def test_shortcut_for_main_frame(self): method test_run_in_specified_frame (line 298) | async def test_run_in_specified_frame(self): method test_wait_for_selector_fail (line 313) | async def test_wait_for_selector_fail(self): method test_wait_for_page_navigation (line 319) | async def test_wait_for_page_navigation(self): method test_fail_page_closed (line 326) | async def test_fail_page_closed(self): method test_fail_frame_detached (line 336) | async def test_fail_frame_detached(self): method test_cross_process_navigation (line 345) | async def test_cross_process_navigation(self): method test_wait_for_selector_visible (line 359) | async def test_wait_for_selector_visible(self): method test_wait_for_selector_visible_inner (line 377) | async def test_wait_for_selector_visible_inner(self): method test_wait_for_selector_hidden (line 396) | async def test_wait_for_selector_hidden(self): method test_wait_for_selector_display_none (line 409) | async def test_wait_for_selector_display_none(self): method test_wait_for_selector_remove (line 422) | async def test_wait_for_selector_remove(self): method test_wait_for_selector_timeout (line 435) | async def test_wait_for_selector_timeout(self): method test_error_msg_wait_for_hidden (line 444) | async def test_error_msg_wait_for_hidden(self): method test_wait_for_selector_node_mutation (line 454) | async def test_wait_for_selector_node_mutation(self): method test_wait_for_selector_return_element (line 467) | async def test_wait_for_selector_return_element(self): class TestWaitForXPath (line 476) | class TestWaitForXPath(BaseTestCase): method test_fancy_xpath (line 478) | async def test_fancy_xpath(self): method test_timeout (line 487) | async def test_timeout(self): method test_specified_frame (line 496) | async def test_specified_frame(self): method test_evaluation_failed (line 510) | async def test_evaluation_failed(self): method test_frame_detached (line 519) | async def test_frame_detached(self): method test_hidden (line 529) | async def test_hidden(self): method test_return_element_handle (line 541) | async def test_return_element_handle(self): method test_text_node (line 550) | async def test_text_node(self): method test_single_slash (line 559) | async def test_single_slash(self): class TestFrames (line 568) | class TestFrames(BaseTestCase): method test_frame_nested (line 570) | async def test_frame_nested(self): method test_frame_events (line 588) | async def test_frame_events(self): method test_anchor_url (line 609) | async def test_anchor_url(self): method test_frame_cross_process (line 618) | async def test_frame_cross_process(self): method test_frame_events_main (line 625) | async def test_frame_events_main(self): method test_frame_events_child (line 637) | async def test_frame_events_child(self): method test_frame_name (line 658) | async def test_frame_name(self): method test_frame_parent (line 680) | async def test_frame_parent(self): FILE: tests/test_input.py class TestClick (line 17) | class TestClick(BaseTestCase): method test_click (line 30) | async def test_click(self): method test_click_with_disabled_javascript (line 36) | async def test_click_with_disabled_javascript(self): method test_click_offscreen_button (line 49) | async def test_click_offscreen_button(self): method test_click_wrapped_links (line 71) | async def test_click_wrapped_links(self): method test_click_events (line 81) | async def test_click_events(self): method test_click_label (line 101) | async def test_click_label(self): method test_click_fail (line 116) | async def test_click_fail(self): method test_touch_enabled_viewport (line 126) | async def test_touch_enabled_viewport(self): method test_click_after_navigation (line 140) | async def test_click_after_navigation(self): method test_resize_textarea (line 148) | async def test_resize_textarea(self): method test_scroll_and_click (line 165) | async def test_scroll_and_click(self): method test_double_click (line 175) | async def test_double_click(self): method test_click_partially_obscured_button (line 190) | async def test_click_partially_obscured_button(self): method test_select_text_by_mouse (line 202) | async def test_select_text_by_mouse(self): method test_select_text_by_triple_click (line 220) | async def test_select_text_by_triple_click(self): method test_trigger_hover (line 232) | async def test_trigger_hover(self): method test_right_click (line 245) | async def test_right_click(self): method test_click_with_modifier_key (line 252) | async def test_click_with_modifier_key(self): method test_click_link (line 273) | async def test_click_link(self): method test_mouse_movement (line 279) | async def test_mouse_movement(self): method test_tap_button (line 297) | async def test_tap_button(self): method test_touches_report (line 304) | async def test_touches_report(self): method test_click_insilde_frame (line 312) | async def test_click_insilde_frame(self): method test_click_with_device_scale_factor (line 324) | async def test_click_with_device_scale_factor(self): class TestFileUpload (line 339) | class TestFileUpload(BaseTestCase): method test_file_upload (line 345) | async def test_file_upload(self): class TestType (line 365) | class TestType(BaseTestCase): method test_key_type (line 367) | async def test_key_type(self): method test_key_arrowkey (line 380) | async def test_key_arrowkey(self): method test_key_press_element_handle (line 402) | async def test_key_press_element_handle(self): method test_key_send_char (line 418) | async def test_key_send_char(self): method test_repeat_shift_key (line 437) | async def test_repeat_shift_key(self): method test_repeat_multiple_modifiers (line 472) | async def test_repeat_multiple_modifiers(self): method test_send_proper_code_while_typing (line 507) | async def test_send_proper_code_while_typing(self): method test_send_proper_code_while_typing_with_shift (line 525) | async def test_send_proper_code_while_typing_with_shift(self): method test_not_type_prevent_events (line 539) | async def test_not_type_prevent_events(self): method test_key_modifiers (line 555) | async def test_key_modifiers(self): method test_repeat_properly (line 568) | async def test_repeat_properly(self): method test_key_type_long (line 590) | async def test_key_type_long(self): method test_key_location (line 603) | async def test_key_location(self): method test_key_unknown (line 623) | async def test_key_unknown(self): method test_emoji (line 632) | async def test_emoji(self): method test_emoji_in_iframe (line 641) | async def test_emoji_in_iframe(self): FILE: tests/test_launcher.py class TestLauncher (line 30) | class TestLauncher(unittest.TestCase): method setUp (line 31) | def setUp(self): method check_default_args (line 40) | def check_default_args(self, launcher): method test_no_option (line 46) | def test_no_option(self): method test_disable_headless (line 51) | def test_disable_headless(self): method test_disable_default_args (line 56) | def test_disable_default_args(self): method test_executable (line 63) | def test_executable(self): method test_args (line 67) | def test_args(self): method test_filter_ignore_default_args (line 72) | def test_filter_ignore_default_args(self): method test_user_data_dir (line 84) | def test_user_data_dir(self): method test_close_no_connection (line 92) | async def test_close_no_connection(self): method test_launch (line 97) | async def test_launch(self): method test_ignore_https_errors (line 104) | async def test_ignore_https_errors(self): method test_ignore_https_errors_interception (line 117) | async def test_ignore_https_errors_interception(self): method test_await_after_close (line 132) | async def test_await_after_close(self): method test_invalid_executable_path (line 141) | async def test_invalid_executable_path(self): method test_dumpio_default (line 146) | def test_dumpio_default(self): method test_dumpio_enable (line 158) | def test_dumpio_enable(self): method test_default_viewport (line 171) | async def test_default_viewport(self): method test_disable_default_viewport (line 184) | async def test_disable_default_viewport(self): class TestDefaultURL (line 193) | class TestDefaultURL(unittest.TestCase): method test_default_url (line 195) | async def test_default_url(self): method test_default_url_not_headless (line 206) | async def test_default_url_not_headless(self): method test_custom_url (line 218) | async def test_custom_url(self): class TestMixedContent (line 231) | class TestMixedContent(unittest.TestCase): method test_mixed_content (line 234) | async def test_mixed_content(self) -> None: class TestLogLevel (line 244) | class TestLogLevel(unittest.TestCase): method setUp (line 245) | def setUp(self): method tearDown (line 251) | def tearDown(self): method test_level_default (line 256) | async def test_level_default(self): method test_level_info (line 267) | async def test_level_info(self): method test_level_debug (line 279) | async def test_level_debug(self): method test_connect_debug (line 298) | async def test_connect_debug(self): class TestUserDataDir (line 317) | class TestUserDataDir(unittest.TestCase): method setUpClass (line 319) | def setUpClass(cls): method setUp (line 326) | def setUp(self): method tearDown (line 329) | def tearDown(self): method tearDownClass (line 341) | def tearDownClass(cls): method test_user_data_dir_option (line 346) | async def test_user_data_dir_option(self): method test_user_data_dir_args (line 356) | async def test_user_data_dir_args(self): method test_user_data_dir_restore_state (line 367) | async def test_user_data_dir_restore_state(self): method test_user_data_dir_restore_cookie_in_browser (line 383) | async def test_user_data_dir_restore_cookie_in_browser(self): class TestTargetEvents (line 399) | class TestTargetEvents(unittest.TestCase): method setUpClass (line 401) | def setUpClass(cls): method tearDownClass (line 409) | def tearDownClass(cls): method test_target_events (line 413) | async def test_target_events(self): class TestClose (line 426) | class TestClose(unittest.TestCase): method test_close (line 428) | async def test_close(self): class TestEventLoop (line 443) | class TestEventLoop(unittest.TestCase): method test_event_loop (line 444) | def test_event_loop(self): class TestConnect (line 459) | class TestConnect(unittest.TestCase): method test_connect (line 461) | async def test_connect(self): method test_reconnect (line 473) | async def test_reconnect(self): method test_fail_to_connect_closed_chrome (line 485) | async def test_fail_to_connect_closed_chrome(self): method test_executable_path (line 493) | async def test_executable_path(self): FILE: tests/test_misc.py class TestVersion (line 12) | class TestVersion(unittest.TestCase): method test_version (line 13) | def test_version(self): class TestDefaultArgs (line 21) | class TestDefaultArgs(unittest.TestCase): method test_default_args (line 22) | def test_default_args(self): class TestToInches (line 29) | class TestToInches(unittest.TestCase): method test_px (line 30) | def test_px(self): method test_inch (line 36) | def test_inch(self): method test_cm (line 42) | def test_cm(self): method test_mm (line 48) | def test_mm(self): class TestPositiveInt (line 55) | class TestPositiveInt(unittest.TestCase): method test_badtype (line 56) | def test_badtype(self): method test_negative_int (line 60) | def test_negative_int(self): class TestDebugError (line 65) | class TestDebugError(unittest.TestCase): method setUp (line 66) | def setUp(self): method tearDown (line 70) | def tearDown(self): method test_debug_default (line 73) | def test_debug_default(self): method test_debug_enabled (line 80) | def test_debug_enabled(self): method test_debug_enable_disable (line 85) | def test_debug_enable_disable(self): method test_debug_logger (line 96) | def test_debug_logger(self): FILE: tests/test_network.py class TestNetworkEvent (line 16) | class TestNetworkEvent(BaseTestCase): method test_request (line 18) | async def test_request(self): method test_request_post (line 32) | async def test_request_post(self): method test_response (line 51) | async def test_response(self): method test_response_https (line 66) | async def test_response_https(self): method test_from_cache (line 82) | async def test_from_cache(self): method test_response_from_service_worker (line 101) | async def test_response_from_service_worker(self): method test_response_body (line 125) | async def test_response_body(self): method test_fail_get_redirected_body (line 136) | async def test_fail_get_redirected_body(self): method test_not_report_body_unless_finished (line 151) | async def test_not_report_body_unless_finished(self): method test_request_failed (line 182) | async def test_request_failed(self): method test_request_finished (line 206) | async def test_request_finished(self): method test_events_order (line 219) | async def test_events_order(self): method test_redirects (line 229) | async def test_redirects(self): class TestRequestInterception (line 255) | class TestRequestInterception(BaseTestCase): method test_request_interception (line 257) | async def test_request_interception(self): method test_referer_header (line 277) | async def test_referer_header(self): method test_response_with_cookie (line 292) | async def test_response_with_cookie(self): method test_request_interception_stop (line 306) | async def test_request_interception_stop(self): method test_request_interception_custom_header (line 315) | async def test_request_interception_custom_header(self): method test_request_interception_custom_referer_header (line 329) | async def test_request_interception_custom_referer_header(self): method test_request_interception_abort (line 344) | async def test_request_interception_abort(self): method test_request_interception_custom_error_code (line 363) | async def test_request_interception_custom_error_code(self): method test_request_interception_amend_http_header (line 384) | async def test_request_interception_amend_http_header(self): method test_request_interception_abort_main (line 388) | async def test_request_interception_abort_main(self): method test_request_interception_redirects (line 401) | async def test_request_interception_redirects(self): method test_redirect_for_subresource (line 414) | async def test_redirect_for_subresource(self): method test_request_interception_abort_redirects (line 438) | async def test_request_interception_abort_redirects(self): method test_request_interception_equal_requests (line 443) | async def test_request_interception_equal_requests(self): method test_request_interception_data_url (line 447) | async def test_request_interception_data_url(self): method test_request_interception_abort_data_url (line 463) | async def test_request_interception_abort_data_url(self): method test_request_interception_with_hash (line 476) | async def test_request_interception_with_hash(self): method test_request_interception_encoded_server (line 492) | async def test_request_interception_encoded_server(self): method test_request_interception_badly_encoded_server (line 504) | async def test_request_interception_badly_encoded_server(self): method test_request_interception_encoded_server_2 (line 509) | async def test_request_interception_encoded_server_2(self): method test_request_interception_invalid_interception_id (line 514) | async def test_request_interception_invalid_interception_id(self): method test_request_interception_disabled (line 518) | async def test_request_interception_disabled(self): method test_request_interception_with_file_url (line 534) | async def test_request_interception_with_file_url(self): method test_request_respond (line 558) | async def test_request_respond(self): method test_request_respond_bytes (line 578) | async def test_request_respond_bytes(self): class TestNavigationRequest (line 582) | class TestNavigationRequest(BaseTestCase): method test_navigation_request (line 584) | async def test_navigation_request(self): method test_interception (line 599) | async def test_interception(self): method test_image (line 618) | async def test_image(self): FILE: tests/test_page.py class TestEvaluate (line 35) | class TestEvaluate(BaseTestCase): method test_evaluate (line 37) | async def test_evaluate(self): method test_await_promise (line 42) | async def test_await_promise(self): method test_error_on_reload (line 47) | async def test_error_on_reload(self): method test_after_framenavigation (line 58) | async def test_after_framenavigation(self): method test_inside_expose_function (line 74) | async def test_inside_expose_function(self): method test_promise_reject (line 89) | async def test_promise_reject(self): method test_string_as_error_message (line 95) | async def test_string_as_error_message(self): method test_number_as_error_message (line 101) | async def test_number_as_error_message(self): method test_return_complex_object (line 107) | async def test_return_complex_object(self): method test_return_nan (line 114) | async def test_return_nan(self): method test_return_minus_zero (line 119) | async def test_return_minus_zero(self): method test_return_infinity (line 124) | async def test_return_infinity(self): method test_return_infinity_minus (line 129) | async def test_return_infinity_minus(self): method test_accept_none (line 134) | async def test_accept_none(self): method test_serialize_null_field (line 142) | async def test_serialize_null_field(self): method test_fail_window_object (line 147) | async def test_fail_window_object(self): method test_fail_for_circular_object (line 152) | async def test_fail_for_circular_object(self): method test_accept_string (line 162) | async def test_accept_string(self): method test_evaluate_force_expression (line 167) | async def test_evaluate_force_expression(self): method test_accept_string_with_semicolon (line 173) | async def test_accept_string_with_semicolon(self): method test_accept_string_with_comments (line 178) | async def test_accept_string_with_comments(self): method test_element_handle_as_argument (line 183) | async def test_element_handle_as_argument(self): method test_element_handle_disposed (line 190) | async def test_element_handle_disposed(self): method test_element_handle_from_other_frame (line 200) | async def test_element_handle_from_other_frame(self): method test_object_handle_as_argument (line 211) | async def test_object_handle_as_argument(self): method test_object_handle_to_primitive_value (line 218) | async def test_object_handle_to_primitive_value(self): method test_simulate_user_gesture (line 224) | async def test_simulate_user_gesture(self): method test_nice_error_after_navigation (line 234) | async def test_nice_error_after_navigation(self): class TestOfflineMode (line 247) | class TestOfflineMode(BaseTestCase): method test_offline_mode (line 249) | async def test_offline_mode(self): method test_emulate_navigator_offline (line 258) | async def test_emulate_navigator_offline(self): class TestEvaluateHandle (line 266) | class TestEvaluateHandle(BaseTestCase): method test_evaluate_handle (line 268) | async def test_evaluate_handle(self): class TestWaitFor (line 273) | class TestWaitFor(BaseTestCase): method test_wait_for_selector (line 275) | async def test_wait_for_selector(self): method test_wait_for_xpath (line 285) | async def test_wait_for_xpath(self): method test_single_slash_fail (line 295) | async def test_single_slash_fail(self): method test_wait_for_timeout (line 301) | async def test_wait_for_timeout(self): method test_wait_for_error_type (line 310) | async def test_wait_for_error_type(self): method test_wait_for_func_with_args (line 316) | async def test_wait_for_func_with_args(self): class TestConsole (line 320) | class TestConsole(BaseTestCase): method test_console_event (line 322) | async def test_console_event(self): method test_console_event_many (line 337) | async def test_console_event_many(self): method test_console_window (line 365) | async def test_console_window(self): method test_trigger_correct_log (line 375) | async def test_trigger_correct_log(self): class TestDOMContentLoaded (line 388) | class TestDOMContentLoaded(BaseTestCase): method test_fired (line 390) | async def test_fired(self): class TestMetrics (line 395) | class TestMetrics(BaseTestCase): method checkMetrics (line 396) | def checkMetrics(self, metrics): method test_metrics (line 419) | async def test_metrics(self): method test_metrics_event (line 425) | async def test_metrics_event(self): class TestGoto (line 434) | class TestGoto(BaseTestCase): method test_get_http (line 436) | async def test_get_http(self): method test_goto_blank (line 442) | async def test_goto_blank(self): method test_response_when_page_changes_url (line 447) | async def test_response_when_page_changes_url(self): method test_goto_subframe_204 (line 453) | async def test_goto_subframe_204(self): method test_goto_fail_204 (line 457) | async def test_goto_fail_204(self): method test_goto_documentloaded (line 463) | async def test_goto_documentloaded(self): method test_goto_domcontentloaded (line 471) | async def test_goto_domcontentloaded(self): method test_goto_history_api_beforeunload (line 478) | async def test_goto_history_api_beforeunload(self): method test_goto_networkidle (line 492) | async def test_goto_networkidle(self): method test_nav_networkidle0 (line 497) | async def test_nav_networkidle0(self): method test_nav_networkidle2 (line 503) | async def test_nav_networkidle2(self): method test_goto_bad_url (line 509) | async def test_goto_bad_url(self): method test_goto_bad_resource (line 514) | async def test_goto_bad_resource(self): method test_timeout (line 519) | async def test_timeout(self): method test_timeout_default (line 524) | async def test_timeout_default(self): method test_no_timeout (line 530) | async def test_no_timeout(self): method test_valid_url (line 534) | async def test_valid_url(self): method test_data_url (line 539) | async def test_data_url(self): method test_404 (line 544) | async def test_404(self): method test_redirect (line 550) | async def test_redirect(self): method test_wait_for_network_idle (line 557) | async def test_wait_for_network_idle(self): method test_data_url_request (line 561) | async def test_data_url_request(self): method test_url_with_hash (line 572) | async def test_url_with_hash(self): method test_self_request_page (line 582) | async def test_self_request_page(self): method test_show_url_in_error_message (line 588) | async def test_show_url_in_error_message(self): class TestWaitForNavigation (line 596) | class TestWaitForNavigation(BaseTestCase): method test_wait_for_navigatoin (line 598) | async def test_wait_for_navigatoin(self): method test_both_domcontentloaded_loaded (line 610) | async def test_both_domcontentloaded_loaded(self): method test_click_anchor_link (line 614) | async def test_click_anchor_link(self): method test_return_nevigated_response_reload (line 625) | async def test_return_nevigated_response_reload(self): method test_history_push_state (line 633) | async def test_history_push_state(self): method test_history_replace_state (line 649) | async def test_history_replace_state(self): method test_dom_history_back_forward (line 667) | async def test_dom_history_back_forward(self): method test_subframe_issues (line 695) | async def test_subframe_issues(self): class TestWaitForRequest (line 710) | class TestWaitForRequest(BaseTestCase): method test_wait_for_request (line 712) | async def test_wait_for_request(self): method test_predicate (line 726) | async def test_predicate(self): method test_no_timeout (line 744) | async def test_no_timeout(self): class TestWaitForResponse (line 761) | class TestWaitForResponse(BaseTestCase): method test_wait_for_response (line 763) | async def test_wait_for_response(self): method test_predicate (line 777) | async def test_predicate(self): method test_no_timeout (line 795) | async def test_no_timeout(self): class TestGoBack (line 812) | class TestGoBack(BaseTestCase): method test_back (line 814) | async def test_back(self): method test_history_api (line 830) | async def test_history_api(self): class TestExposeFunction (line 846) | class TestExposeFunction(BaseTestCase): method test_expose_function (line 848) | async def test_expose_function(self): method test_call_from_evaluate_on_document (line 855) | async def test_call_from_evaluate_on_document(self): method test_expose_function_other_page (line 868) | async def test_expose_function_other_page(self): method test_expose_function_return_promise (line 876) | async def test_expose_function_return_promise(self): method test_expose_function_frames (line 885) | async def test_expose_function_frames(self): method test_expose_function_frames_before_navigation (line 893) | async def test_expose_function_frames_before_navigation(self): class TestErrorPage (line 901) | class TestErrorPage(BaseTestCase): method test_error_page (line 903) | async def test_error_page(self): class TestRequest (line 916) | class TestRequest(BaseTestCase): method test_request (line 918) | async def test_request(self): class TestQuerySelector (line 932) | class TestQuerySelector(BaseTestCase): method test_jeval (line 934) | async def test_jeval(self): method test_jeval_argument (line 941) | async def test_jeval_argument(self): method test_jeval_argument_element (line 948) | async def test_jeval_argument_element(self): method test_jeval_not_found (line 959) | async def test_jeval_not_found(self): method test_JJeval (line 969) | async def test_JJeval(self): method test_query_selector (line 976) | async def test_query_selector(self): method test_query_selector_all (line 983) | async def test_query_selector_all(self): method test_query_selector_all_not_found (line 993) | async def test_query_selector_all_not_found(self): method test_xpath (line 999) | async def test_xpath(self): method test_xpath_alias (line 1005) | async def test_xpath_alias(self): method test_xpath_not_found (line 1011) | async def test_xpath_not_found(self): method test_xpath_multiple (line 1016) | async def test_xpath_multiple(self): class TestUserAgent (line 1022) | class TestUserAgent(BaseTestCase): method test_user_agent (line 1024) | async def test_user_agent(self): method test_user_agent_mobile_emulate (line 1033) | async def test_user_agent_mobile_emulate(self): class TestExtraHTTPHeader (line 1042) | class TestExtraHTTPHeader(BaseTestCase): method test_extra_http_header (line 1044) | async def test_extra_http_header(self): method test_non_string_value (line 1061) | async def test_non_string_value(self): class TestAuthenticate (line 1068) | class TestAuthenticate(BaseTestCase): method test_auth (line 1070) | async def test_auth(self): class TestAuthenticateFailed (line 1078) | class TestAuthenticateFailed(BaseTestCase): method test_auth_fail (line 1080) | async def test_auth_fail(self): class TestAuthenticateDisable (line 1086) | class TestAuthenticateDisable(BaseTestCase): method test_disable_auth (line 1088) | async def test_disable_auth(self): class TestSetContent (line 1098) | class TestSetContent(BaseTestCase): method test_set_content (line 1102) | async def test_set_content(self): method test_with_doctype (line 1108) | async def test_with_doctype(self): method test_with_html4_doctype (line 1115) | async def test_with_html4_doctype(self): class TestSetBypassCSP (line 1123) | class TestSetBypassCSP(BaseTestCase): method test_bypass_csp_meta_tag (line 1125) | async def test_bypass_csp_meta_tag(self): method test_bypass_csp_header (line 1137) | async def test_bypass_csp_header(self): method test_bypass_scp_cross_process (line 1149) | async def test_bypass_scp_cross_process(self): class TestAddScriptTag (line 1161) | class TestAddScriptTag(BaseTestCase): method test_script_tag_error (line 1163) | async def test_script_tag_error(self): method test_script_tag_url (line 1169) | async def test_script_tag_url(self): method test_script_tag_url_fail (line 1177) | async def test_script_tag_url_fail(self): method test_script_tag_path (line 1185) | async def test_script_tag_path(self): method test_script_tag_path_source_map (line 1194) | async def test_script_tag_path_source_map(self): method test_script_tag_content (line 1203) | async def test_script_tag_content(self): method test_scp_error_content (line 1211) | async def test_scp_error_content(self): method test_scp_error_url (line 1217) | async def test_scp_error_url(self): method test_module_url (line 1225) | async def test_module_url(self): method test_module_path (line 1232) | async def test_module_path(self): method test_module_content (line 1241) | async def test_module_content(self): class TestAddStyleTag (line 1252) | class TestAddStyleTag(BaseTestCase): method test_style_tag_error (line 1254) | async def test_style_tag_error(self): method get_bgcolor (line 1259) | async def get_bgcolor(self): method test_style_tag_url (line 1263) | async def test_style_tag_url(self): method test_style_tag_url_fail (line 1271) | async def test_style_tag_url_fail(self): method test_style_tag_path (line 1279) | async def test_style_tag_path(self): method test_style_tag_path_source_map (line 1289) | async def test_style_tag_path_source_map(self): method test_style_tag_content (line 1300) | async def test_style_tag_content(self): method test_csp_error_content (line 1308) | async def test_csp_error_content(self): method test_csp_error_url (line 1315) | async def test_csp_error_url(self): class TestUrl (line 1323) | class TestUrl(BaseTestCase): method test_url (line 1325) | async def test_url(self): class TestViewport (line 1332) | class TestViewport(BaseTestCase): method test_viewport (line 1336) | async def test_viewport(self): method test_mobile_emulation (line 1342) | async def test_mobile_emulation(self): method test_touch_emulation (line 1351) | async def test_touch_emulation(self): method test_detect_by_modernizr (line 1376) | async def test_detect_by_modernizr(self): method test_detect_touch_viewport_touch (line 1389) | async def test_detect_touch_viewport_touch(self): method test_landscape_emulation (line 1395) | async def test_landscape_emulation(self): class TestEmulate (line 1415) | class TestEmulate(BaseTestCase): method test_emulate (line 1417) | async def test_emulate(self): method test_click (line 1425) | async def test_click(self): class TestEmulateMedia (line 1435) | class TestEmulateMedia(BaseTestCase): method test_emulate_media (line 1437) | async def test_emulate_media(self): method test_emulate_media_bad_arg (line 1454) | async def test_emulate_media_bad_arg(self): class TestJavaScriptEnabled (line 1460) | class TestJavaScriptEnabled(BaseTestCase): method test_set_javascript_enabled (line 1462) | async def test_set_javascript_enabled(self): class TestEvaluateOnNewDocument (line 1476) | class TestEvaluateOnNewDocument(BaseTestCase): method test_evaluate_before_else_on_page (line 1478) | async def test_evaluate_before_else_on_page(self): method test_csp (line 1484) | async def test_csp(self): class TestCacheEnabled (line 1493) | class TestCacheEnabled(BaseTestCase): method test_cache_enable_disable (line 1495) | async def test_cache_enable_disable(self): class TestPDF (line 1512) | class TestPDF(BaseTestCase): method test_pdf (line 1514) | async def test_pdf(self): class TestTitle (line 1524) | class TestTitle(BaseTestCase): method test_title (line 1526) | async def test_title(self): class TestSelect (line 1531) | class TestSelect(BaseTestCase): method setUp (line 1532) | def setUp(self): method test_select (line 1537) | async def test_select(self): method test_select_first_item (line 1551) | async def test_select_first_item(self): method test_select_multiple (line 1557) | async def test_select_multiple(self): method test_select_not_select_element (line 1567) | async def test_select_not_select_element(self): method test_select_no_match (line 1572) | async def test_select_no_match(self): method test_return_selected_elements (line 1577) | async def test_return_selected_elements(self): method test_select_not_multiple (line 1584) | async def test_select_not_multiple(self): method test_select_no_value (line 1589) | async def test_select_no_value(self): method test_select_deselect (line 1594) | async def test_select_deselect(self): method test_select_deselect_multiple (line 1604) | async def test_select_deselect_multiple(self): method test_select_nonstring (line 1615) | async def test_select_nonstring(self): class TestCookie (line 1620) | class TestCookie(BaseTestCase): method test_cookies (line 1622) | async def test_cookies(self): method test_cookie_blank_page (line 1714) | async def test_cookie_blank_page(self): method test_cookie_blank_page2 (line 1720) | async def test_cookie_blank_page2(self): method test_cookie_data_url_page (line 1730) | async def test_cookie_data_url_page(self): method test_cookie_data_url_page2 (line 1736) | async def test_cookie_data_url_page2(self): class TestCookieWithPath (line 1746) | class TestCookieWithPath(BaseTestCase): method test_set_cookie_with_path (line 1748) | async def test_set_cookie_with_path(self): class TestCookieDelete (line 1768) | class TestCookieDelete(BaseTestCase): method test_delete_cookie (line 1770) | async def test_delete_cookie(self): class TestCookieDomain (line 1793) | class TestCookieDomain(BaseTestCase): method test_different_domain (line 1795) | async def test_different_domain(self): class TestCookieFrames (line 1817) | class TestCookieFrames(BaseTestCase): method test_frame (line 1819) | async def test_frame(self): class TestEvents (line 1874) | class TestEvents(BaseTestCase): method test_close_window_close (line 1876) | async def test_close_window_close(self): method test_close_page_close (line 1898) | async def test_close_page_close(self): class TestBrowser (line 1906) | class TestBrowser(BaseTestCase): method test_get_browser (line 1908) | async def test_get_browser(self): FILE: tests/test_pyppeteer.py class TestPyppeteer (line 20) | class TestPyppeteer(BaseTestCase): method test_get_https (line 22) | async def test_get_https(self): method test_get_facebook (line 27) | async def test_get_facebook(self): method test_plain_text_depr (line 32) | async def test_plain_text_depr(self): method test_inject_file (line 40) | async def test_inject_file(self): # deprecated class TestScreenshot (line 54) | class TestScreenshot(BaseTestCase): method setUp (line 55) | def setUp(self): method tearDown (line 61) | def tearDown(self): method test_screenshot_large (line 67) | async def test_screenshot_large(self): FILE: tests/test_screenshot.py class TestScreenShot (line 17) | class TestScreenShot(TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_screenshot (line 30) | async def test_screenshot(self): method test_screenshot_binary (line 45) | async def test_screenshot_binary(self): method test_screenshot_base64 (line 54) | async def test_screenshot_base64(self): method test_screenshot_element (line 64) | async def test_screenshot_element(self): method test_unresolved_mimetype (line 74) | async def test_unresolved_mimetype(self): class TestPDF (line 82) | class TestPDF(TestCase): method setUp (line 83) | def setUp(self): method test_pdf (line 90) | async def test_pdf(self): method tearDown (line 98) | def tearDown(self): FILE: tests/test_target.py class TestTarget (line 12) | class TestTarget(BaseTestCase): method test_targets (line 14) | async def test_targets(self): method test_return_all_pages (line 23) | async def test_return_all_pages(self): method test_browser_target (line 29) | async def test_browser_target(self): method test_default_page (line 35) | async def test_default_page(self): method test_report_new_page (line 43) | async def test_report_new_page(self): method test_report_service_worker (line 78) | async def test_report_service_worker(self): method test_url_change (line 99) | async def test_url_change(self): method test_not_report_uninitialized_page (line 118) | async def test_not_report_uninitialized_page(self): method test_crash_while_redirect (line 152) | async def test_crash_while_redirect(self): method test_opener (line 156) | async def test_opener(self): FILE: tests/test_tracing.py class TestTracing (line 15) | class TestTracing(BaseTestCase): method setUp (line 16) | def setUp(self): method tearDown (line 22) | def tearDown(self): method test_tracing (line 28) | async def test_tracing(self): method test_custom_categories (line 37) | async def test_custom_categories(self): method test_tracing_two_page_error (line 52) | async def test_tracing_two_page_error(self): method test_return_buffer (line 61) | async def test_return_buffer(self): method test_return_null_on_error (line 71) | async def test_return_null_on_error(self): method test_without_path (line 76) | async def test_without_path(self): FILE: tests/test_worker.py class TestWorker (line 11) | class TestWorker(BaseTestCase): method test_worker (line 13) | async def test_worker(self): method test_create_destroy_events (line 25) | async def test_create_destroy_events(self): method test_report_console_logs (line 40) | async def test_report_console_logs(self): method test_jshandle_for_console_log (line 50) | async def test_jshandle_for_console_log(self): method test_execution_context (line 64) | async def test_execution_context(self): method test_report_error (line 76) | async def test_report_error(self): FILE: tests/utils.py function waitEvent (line 7) | def waitEvent(emitter, event_name):