codeceptjs / codeceptjs/CodeceptJS
`sessionStorage` doesn't removed after `openNewTab` fired
未关闭
- 主要语言
- JavaScript
- 星标
- 4.2k
- 派生
- 757
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 16
描述
#### What are you trying to achieve?
Test for `sessionStorage`
#### What do you get instead?
`sessionStorage` doesn't removed since I close other tabs and opened up the new one my app still gets the storage with unexpected behavior.
> Provide test source code if related
```js
I.openNewTab();
I.closeOtherTabs();
```
#### Workaround
```js
I.openNewTab();
I.closeOtherTabs();
I.executeScript(() => {
sessionStorage.clear();
});
```
### Details
* CodeceptJS 2.6.1
* NodeJS 13.3.0
* Operating System: Ubuntu 18.04.4 LTS
* webdriverio ^5.22.4
贡献指南
评估
这个 Issue 还没有评估数据。