UNPKG

@vrspace/babylonjs

Version:

vrspace.org babylonjs client

30 lines (29 loc) 1.05 kB
/** * Experimental remote web browser. Communicates with server-side component that controls a headless web browser with Selenium. * Requires firefox on the server, and org.vrspace.server.selenium-enabled=true property. * Forwards click to the server, and loads resulting screenshots. * Severe limitation is that there's no such thing as 'web page is ready' signal in web browser. */ export class RemoteBrowser extends ImageArea { constructor(scene: any); depth: number; maxDepth: number; inputForm: InputForm; endpoint(): string; available(): Promise<boolean>; get(url: any): Promise<void>; url: any; enter(text: any): Promise<void>; scroll(pixels: any): Promise<void>; close(): Promise<void>; forward(): Promise<void>; back(): Promise<void>; quit(): Promise<void>; processHeaders(headers: any): void; buttonClose: any; buttonBack: any; buttonForward: any; buttonQuit: any; } import { ImageArea } from './image-area.js'; import { InputForm } from './input-form.js';