Skip to content

feat: add "order" to choose specific element, support dynamic change sleep time#119

Open
Vancheung wants to merge 1 commit into
openatx:masterfrom
Vancheung:feat_order
Open

feat: add "order" to choose specific element, support dynamic change sleep time#119
Vancheung wants to merge 1 commit into
openatx:masterfrom
Vancheung:feat_order

Conversation

@Vancheung
Copy link
Copy Markdown

1、支持"order":指定顺序。当查找到多个元素时,可以返回指定第x个元素;
2、支持指定重试次数,结合timeout字段,可以动态调整重试等待的时间间隔,减少频繁重试引起的开销。

@codeskyblue
Copy link
Copy Markdown
Member

get本来的意思就是获取第一个元素,你这样会修改会让过去的脚本无法运行。另外如果要修改sleep等待时间,加个interval参数不就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants