Skip to content

Instantly share code, notes, and snippets.

@YogeshBendake
Created November 18, 2015 08:00
Show Gist options
  • Save YogeshBendake/14fa1ca37b13ef6b52b6 to your computer and use it in GitHub Desktop.
Save YogeshBendake/14fa1ca37b13ef6b52b6 to your computer and use it in GitHub Desktop.
please send me solution code in java to selecct value from chosen dropdown list in selenium webdriver.
my htmlcode is
<div id="category_chosen" class="chosen-container chosen-container-single" style="width: 228px;" title="">
<a class="chosen-single chosen-default" tabindex="-1">
<span>Select an Option</span>
<div>
</a>
<div class="chosen-drop">
</div>
<label data-i18n="indicators_data.org_node">Organisation Node</label>
<div class="popover fade bottom in ng-hide" ng-show="objForm.orgNode.$error.required && (isSaveCalled || objForm.orgNode.$touched)">
</div>
</div>
<div class="control-group pull-left">
</div>
<div class="clearfix bottomSpace6">
<dynamic-attrs class="ng-pristine ng-untouched ng-valid" template-url="angular-app/shared/templates/dynamic_form_fields.html" ng-model="attrs">
<label class="uploadBtn btnSecondary" for="attEvidence">
<table class="table">
<table class="table">
<div class="btnWrap clearfix topSpace6">
</form>
</div>
</div>
</div>
</div>
<div id="footer" class="footer" style="position: static;">
<div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment