Home Reference Source
public class | source

Touchscreen

Constructor Summary

Public Constructor
public

constructor(client: Chrome | CRIConnection | CDPSession | Object, keyboard: Keyboard)

Member Summary

Private Members
private

_client: *

private

Method Summary

Public Methods
public

async tap(x: number, y: number)

Public Constructors

public constructor(client: Chrome | CRIConnection | CDPSession | Object, keyboard: Keyboard) source

Params:

NameTypeAttributeDescription
client Chrome | CRIConnection | CDPSession | Object
keyboard Keyboard
  • optional
  • nullable: true

Private Members

private _client: * source

private _keyboard: * source

Public Methods

public async tap(x: number, y: number) source

Params:

NameTypeAttributeDescription
x number
y number