gpt4 book ai didi

remove user credentials from safari browser through capabilities(通过功能从Safari浏览器中删除用户凭据)

翻译 作者:bug小助手 更新时间:2023-10-26 22:26:58 25 4
gpt4 key购买 nike



I have a use-case which involves logging in everytime, however - once a user is logged in, the next time the test runs on the same device - the user is still logged in on safari. What capability should I use to make sure the session is always clean.

我有一个涉及每次登录的用例,然而,一旦用户登录,下次在同一设备上运行测试时,该用户仍然在Safari上登录。我应该使用什么功能来确保会话始终是干净的。


I have used the following till now:

到目前为止,我使用了以下几种方法:



  • webdriver.session.deleteAllCookies() - this even deletes the authentication cookie

  • "appium:cleanSession": true - this doesn't do anything

  • "appium:fullReset": true - this also doesn't do anything


What other options should I try ? This is specifically for safari + ios use-case

我还应该尝试哪些其他选项?这是专门针对Safari+iOS用例的


更多回答
优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com