selenium - Spaces in CSS Selector-Webdriver -
when trying locate below div class name,i unable find,
<div class="large 20 columns">..</div>
i tried dr.findelement(by.cssselector("div.large.20.columns']"));
but unable locate.
please let me know, there way locate class name space using css selector.
relying on layout-oriented class names large
not idea in general. use just:
div.columns
if not enough uniquely identify element, additionally check other attributes, specific parent, child or adjacent elements.
Comments
Post a Comment