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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -