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

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -