-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Move log related commands to .logs
namespaces.
#3796
Conversation
Status
|
37c7e08
to
2103c3b
Compare
.logs
namespaces.
These changes are also dependent on #3794 ? |
This PR is ready now. |
@@ -0,0 +1,54 @@ | |||
const ClientCommand = require('../_base-command.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking that it would be better to name this and the other session log commands with using "session", as in getSessionLog, getSessionLogTypes, isSessionLogAvailable
@beatfactor I made the requested changes. |
Great, @AutomatedTester does this look ok to you, meaning the session log command names? |
Yes, this looks good. |
New
logs
namespace:.logs.getSessionLog()
.logs.getSessionLogType()
.logs.isSessionLogAvailable()
.logs.captureBrowserConsoleLogs()
(also available as.captureBrowserConsoleLogs()
).logs.captureBrowserExceptions()
(also available ascaptureBrowserExceptions()
)Deprecated commands:
.getLog()
-- In favour of.logs.getSessionLog()
.getLogTypes()
-- In favour of.logs.getSessionLogTypes()
.isLogAvailable()
-- In favour of.logs.isSessionLogAvailable()
.sessionLog()
-- In favour of.logs.getSessionLog()
.sessionLogTypes()
-- In favour of.logs.getSessionLogTypes()
TODO: