mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-29 04:03:59 -06:00
Merge pull request #2014 from NguyenTranHoangSym/experimental-fix-e2e
SDA-4404: Resolve Framework Conflict Electron with WDIO
This commit is contained in:
commit
c9f358f9f7
@ -438,6 +438,7 @@ export class WindowHandler {
|
|||||||
) {
|
) {
|
||||||
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
||||||
this.mainWebContents.loadURL(this.url, { userAgent });
|
this.mainWebContents.loadURL(this.url, { userAgent });
|
||||||
|
this.mainWindow.loadURL('about:blank', { userAgent });
|
||||||
} else {
|
} else {
|
||||||
this.mainWindow.loadURL(this.url, { userAgent });
|
this.mainWindow.loadURL(this.url, { userAgent });
|
||||||
this.mainWebContents = this.mainWindow.webContents;
|
this.mainWebContents = this.mainWindow.webContents;
|
||||||
|
Loading…
Reference in New Issue
Block a user