Can selenium handle autocomplete?

前端 未结 17 1288
粉色の甜心
粉色の甜心 2020-12-09 04:26

I have a test case that requires typing in a partial value into an ajax based textfield and verifying the list has the expected content. If it does, select the content. An

17条回答
  •  温柔的废话
    2020-12-09 05:18

    Sometime the TypeKeys Doesn't work. At this time you can use keyDown

    click the inputbox and type value and keyDown in the box.

提交回复
热议问题