量角器找不到元素。

时间:2017-01-18 17:58:06

标签: javascript selenium-webdriver protractor

知道如何点击元素src="/images/mediaMicroThumbnail/9949436.jpeg"吗?

我试图通过CSS和xpath点击,但它不起作用。应该选择click元素但不是。

<div class="as-sortable-item img-thumbnail ng-scope" ng-class="{ 'x-img-selected': image.selected }" ng-repeat="image in images | orderBy:'createDate':true" ng-click="selectImage(image)">
                        <div class="remove-item">
                            <button class="close" ng-click="removeImage(image)" ng-disabled="removingDisabled">×</button>
                        </div>
                        <img ng-src="/images/mediaMicroThumbnail/9949436.jpeg" src="/images/mediaMicroThumbnail/9949436.jpeg">
                    </div>
  

0 个答案:

没有答案