Skip to content

Commit

Permalink
2020-08-05设置Page#setUserAgent方法为public
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyong committed Aug 5, 2020
1 parent 2f2bd88 commit d0f996c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ruiyun/jvppeteer/core/page/Page.java
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ public void emulate(Device options) throws ExecutionException, InterruptedExcept
*
* @param userAgent userAgent的值
*/
private void setUserAgent(String userAgent) {
public void setUserAgent(String userAgent) {
this.frameManager.networkManager().setUserAgent(userAgent);
}

Expand Down

0 comments on commit d0f996c

Please sign in to comment.