We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9769be3 commit 86b237dCopy full SHA for 86b237d
test/functional/services/remote/remote.ts
@@ -128,8 +128,8 @@ export async function RemoteProvider({ getService }: FtrProviderContext) {
128
.manage()
129
.window()
130
.setRect({ width, height });
131
- await driver.executeScript('window.sessionStorage.clear();');
132
- await driver.executeScript('window.localStorage.clear();');
+ await driver.executeScript('try { window.sessionStorage.clear(); } catch (err) {};');
+ await driver.executeScript('try { window.localStorage.clear(); } catch (err) {};');
133
});
134
135
lifecycle.on('cleanup', async () => {
0 commit comments