无法选择代码中的复选框

时间:2017-01-24 10:37:38

标签: testing automation codeception acceptance

以下是我用来选择复选框的代码:

create-event-form这是表单ID和复选框名称“已发布”。我有时使用它的工作,有时它不工作。完全糊涂了!

$ I-> checkOption('#create-event-form input [type = checkbox]');

但它不起作用!

任何人都可以提出我错的地方。

0 个答案:

没有答案