You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Failed: element not interactable
(Session info: chrome=77.0.3865.120)
(Driver info: chromedriver=77.0.3865.10 (bc3579f611bbc73331171afe020ec7a45e6ccc55-refs/branch-heads/3865@{#93}),platform=Windows NT 10.0.14393 x86_64)
e2e
1. 报错
session not created: This version of ChromeDriver only supports Chrome version 74 error....
Chrome版本是77,而
protractor
的依赖包webdriver-manager
版本是低版本匹配的是Chrome版本是74, 因此更新webdriver-manager
至12.1.7
即可解决。2. 报错
Failed: element not interactable
这句话的意思是元素不是可交互的。因为这个元素是获取到了,但是不在浏览器的可视区域(可能在滚动条的另外一边),作为用户是看不到这个元素,所以会报错。
解决办法
把浏览器最大化(或滚动),让元素出现在可是区域。
The text was updated successfully, but these errors were encountered: