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

Optimized DevTools #7231

Merged
merged 3 commits into from
May 29, 2019
Merged

Optimized DevTools #7231

merged 3 commits into from
May 29, 2019

Conversation

adiohana
Copy link
Contributor

@adiohana adiohana commented May 24, 2019

  • Added test cases for Log and Console

  • Fixed some parsing bugs

  • modified to same convention we have in Network and Performance

  • Improved JavaDoc in Network

  • Usage of fromJson in all models

  • By placing an X in the preceding checkbox, I verify that I have signed the Contributor License Agreement

aohana added 2 commits May 24, 2019 12:16
optimized model parsing with Selenium Json capabilities.
@adiohana adiohana changed the title fixed bugs and added test cases for DevTools Log and Console Optimized DevTools May 24, 2019
@adiohana
Copy link
Contributor Author

@shs96c

Added some goodies here.
This will get us to a stable state in all DevTools domains we have so far.

@p0deje p0deje added the C-java label May 27, 2019
Copy link
Member

@shs96c shs96c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, once again! This is great :)

A couple of nits, but we can address them in a later PR.

@@ -27,31 +27,47 @@
import java.util.StringJoiner;

public class Console {
private Console() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to keep the private constructors for utility classes

@@ -33,21 +34,23 @@

public class Log {

private Log() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Utility classes (those that only contain static helper methods and classes) should have private constructors to stop people accidentally attempting to use the static methods as instance methods. Because "people"

@shs96c shs96c merged commit f70bd37 into SeleniumHQ:master May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants