selenium - Open a calendar that appears only on clicking the right side of an input box -


i have calendar opens on clicking on black arrow(marked in image). black arrow appear on hovering right extreme of input box. tried click on input tag, not show calendar arrow doesn't appear. how can make calendar appear?

this how element looks in inspecting it.

<input type="week" name="startweek">

im using selenium web-driver java.

enter image description here

i have found solution this. workaround pass date directly calendar element using sendkeys method.

getelement(calendar).sendkeys( "03012016");

this enter date directly onto calendar field.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -