python - session 超时,因为浏览器在 Browserstack 中空闲了 90 秒

标签 python selenium browserstack

我在 Browserstack 中运行自动 Selenium 测试我的测试有时会由于以下错误而失败

Session timed out because the browser was idle for 90 seconds

在Browserstack设置中,他们提到了

IDLE TIMEOUT
If a session is idle for more than 90 seconds, the session is stopped, changing the session status to TIMEOUT on the dashboard.

但是我找不到改变它的方法。谁能告诉我如何更改此超时?

最佳答案

您不能更改 BrowserStack Automate 上 session 的 IDLE 超时持续时间。如果您有特定用例并且需要延长持续时间,我建议您联系他们的支持团队。

关于python - session 超时,因为浏览器在 Browserstack 中空闲了 90 秒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41183307/

相关文章:

python - SQLite 插入语句使用 Flask 静默失败

python - Flask 和 Tweepy oAuth 错误 - 无法获取请求 token

python - 即使我获得了所有标签, Selenium 也从下拉菜单中选择选项

selenium - 使用 selenium2library & Robot Framework 验证页面中 2 个文本中的一个文本的存在

gruntjs - 从 grunt 运行 java 文件,不会打开 Browserstack 的端口

python - GAE发送邮件->如何将mail@myapp.appspotmail.com替换为mail@mydomain.com

python - 美汤 4 : AttributeError: NoneType has no attribute find_next

javascript - 使用 Selenium 中文本前面的值递增变量

angularjs - Protractor :WAITING规范完成 10000 毫秒后超时

java - 使用 Selenium -Browserstack 设置 PAC 文件代理