Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vancheung
Copy link

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

@codeskyblue
Copy link
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