Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit 4f3084d

Browse files
committed
fix: In Firefox, when the URL hash changes, browser not reloaded.
1 parent ea0f42c commit 4f3084d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/browser/new-browser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ module.exports = class NewBrowser extends Browser {
196196
resetZoom: true
197197
});
198198

199-
return this._wd.get(url)
199+
return this._wd.get('data:,')
200+
.then(() => this._wd.get(url))
200201
.then((url) => {
201202
return params.resetZoom
202203
? this._clientBridge.call('resetZoom').thenReturn(url)

0 commit comments

Comments
 (0)