Menu

#381 Use HTML:: namespace for all HTML related functions

Backlog
open
nobody
2020-05-21
2019-09-07
Anonymous
No

Originally created by: ziflex

In order to avoid collisions and make queries more readable I propose to move all HTML related functions to HTML:: namespace.

Examples:

LET page = HTML::DOCUMENT(url) // for backward compatibility

HTML::INPUT::CLICK(page, '#submit')

HTML::WAIT::NAVIGATION(page)

And etc.

It should be done after issue [#300] in order to easily migrate scripts.

We may keep copy of functions in a global scope for target release and inform users about upcoming breaking changes in the next one.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB