| 程序包 | 说明 |
|---|---|
| com.ruiyun.jvppeteer.api.core | |
| com.ruiyun.jvppeteer.bidi.core | |
| com.ruiyun.jvppeteer.cdp.core | |
| com.ruiyun.jvppeteer.cdp.entities |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Page.setGeolocation(GeolocationOptions options)
设置页面的地理位置
考虑使用
BrowserContext.overridePermissions(String, WebPermission...) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BidiPage.setGeolocation(GeolocationOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
EmulationManager.setGeolocation(GeolocationOptions options) |
void |
CdpPage.setGeolocation(GeolocationOptions options) |
| 限定符和类型 | 字段和说明 |
|---|---|
GeolocationOptions |
GeoLocationState.geoLocation |
| 限定符和类型 | 方法和说明 |
|---|---|
GeolocationOptions |
GeoLocationState.getGeoLocation() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
GeoLocationState.setGeoLocation(GeolocationOptions geoLocation) |
| 构造器和说明 |
|---|
GeoLocationState(boolean active,
GeolocationOptions geoLocation) |
Copyright © 2020–2025. All rights reserved.