add back and forward navigate.

This commit is contained in:
Miroslav Šedivý 2020-12-13 23:38:38 +01:00
parent 67405da3aa
commit 251cea24b8

View File

@ -287,8 +287,16 @@
}
// TODO: Refactor.
public browserUrl(url: string) {
this.websocket.send('browser/url', { url })
public browserNavigateUrl(url: string) {
this.websocket.send('browser/navigate/url', { url })
}
public browserNavigateBack() {
this.websocket.send('browser/navigate/back')
}
public browserNavigateForward() {
this.websocket.send('browser/navigate/forward')
}
/////////////////////////////