问题描述:

Note - App coded in Extjs

Certain ExtJs elements or parts of elements (like titles) are not appearing or loading when using the selenium launched FF.

Things I tried

  1. Going to the same page with a manually launched firefox - works
  2. Stopping the test after login to use the launched version and going

    to the same with issues - still see issues

  3. Updated to latest version of FF - same issues.

Is there anything with the Firefox driver in selenium that could be causing these discrepancies?

To add to to the situation I can actually get the store behind the grid that isn't loading up

网友答案:

The thing is ExtJS is using a really annoying HTML5 features, which need a bit more then simple simulations of user interactions. For ecample an element could be with no childs, but when you will click on it, it will automatically load all of it's childs. That's why you don't see all the elements. For that purposes, if you are using java you should use http://html5robot.com or similar things, which are developed to help Webdriver interact with complex HTML5 solutions.

相关阅读:
Top