docs: 修复文档中历史遗留的旧版方法名,修正错别字 - #668
Open
sm29284456071-lang wants to merge 1 commit into
Open
Conversation
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.
在研读说明文档时,发现actions.md、frame_operation.md、get_element_info.md、get_page_info.md、page_operation.md、tab_operation.md、waiting.md 等文件中仍保留了部分旧版方法名示例,与当前源码接口不一致,例如get_src() 实际已更新为 src(),get_cookies()、get_session_storage()、get_local_storage()、find_tabs()、close_other_tabs() 等也已改为新的调用方式。为避免用户按照旧文档编写代码时遇到报错,已批量修正文档中的方法名、示例代码和相关参数说明,使其与当前源码保持一致。
同时,顺手修复了文档中的拼写错误 Embeded -> Embedded,并对部分表述进行了小幅润色,提升文档准确性和可读性。