feat: add "order" to choose specific element, support dynamic change sleep time#119
Open
Vancheung wants to merge 1 commit into
Open
feat: add "order" to choose specific element, support dynamic change sleep time#119Vancheung wants to merge 1 commit into
Vancheung wants to merge 1 commit into
Conversation
Member
|
get本来的意思就是获取第一个元素,你这样会修改会让过去的脚本无法运行。另外如果要修改sleep等待时间,加个interval参数不就行了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1、支持"order":指定顺序。当查找到多个元素时,可以返回指定第x个元素;
2、支持指定重试次数,结合timeout字段,可以动态调整重试等待的时间间隔,减少频繁重试引起的开销。