gpt4 book ai didi

javascript - TestCafe - Windows 10 上的 Internet Explorer 11 输入文本问题

转载 作者:行者123 更新时间:2023-11-29 20:49:34 24 4
gpt4 key购买 nike

我的 testcafe 测试使用 Internet Explorer 将文本输入到文本字段中,但是当它这样做时,它会在输入文本时删除所有其他字母。

例如:test@something.com 将输入为 ts@oehn.cm

await t.typeText(Selector('#email'), 'myemail@email.com')

await t.typeText(Selector('#password'), 'mypassword')

await t.click(Selector('.account-form__button'))

await t.wait(6000);

这是有人见过的东西吗?同样的测试在 Windows 上的 firefox 和 chrome 中运行良好。

最佳答案

我尝试使用如下示例标记来检查此场景:

<body>
<input type="text" id="email"/><br/>
<input type="text" id="password"/><br/>
<div contenteditable="true" id="editable"></div>
</body>

此测试在 IE 中通过,我没有注意到删除符号有任何问题。我建议您检查最新的 testcafe 版本 0.23.3 以查看此行为是否可以在那里重现。如果您认为自己遇到了错误,我建议您创建一个新问题并填写所有字段 https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md

关于javascript - TestCafe - Windows 10 上的 Internet Explorer 11 输入文本问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52598863/

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