How to loop ui and li in selenium in a go to select all the profiles displayed in the dropdown (dropdown will be dynamic)? -
i'm trying select profiles displayed in dropdown in ul
, li
,here conflict facing every time select profile dropdown disappears again need click on dropdown button , select profile ,how select profiles in go ( how loop )?
here html
of above query
<ul id="binduserinul" role="menu" class="dropdown-menu"> <li onclick="bindfrofilesmaster('tumblr','kishore3663','kishore3663')"> </li> <li onclick="bindfrofilesmaster('facebook','kishore nk','100002876995628')"> </li> <li onclick="bindfrofilesmaster('tumblr','kishor3663','kishor3663')"> </li> <li onclick="bindfrofilesmaster('twitter','kishunk25','2606831526')"> </li> <li onclick="bindfrofilesmaster('facebook_page','ask ? it','1565847693677378')"> </li> </ul>
you need re-assign (search element 1 more time) inside of loop
so need inside of loop wait element ready (or wait ajax), reassign element, , action needed.
Comments
Post a Comment