Skip to content

Conversation

@aquality-automation
Copy link
Collaborator

No description provided.

Nikikuzi and others added 5 commits August 7, 2019 16:54
# Conflicts: #	src/main/java/aquality/selenium/elements/Element.java #	src/test/java/tests/integration/ElementTests.java
# Conflicts: #	src/main/java/aquality/selenium/elements/Element.java #	src/main/java/aquality/selenium/elements/ElementFinder.java #	src/main/java/aquality/selenium/waitings/ConditionalWait.java #	src/test/java/tests/integration/ElementTests.java #	src/test/java/tests/integration/HiddenElementsTests.java
}

public Long getTimeoutImpl() {
public Long getImplicitWaitTimeout() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need getter?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, we need because of Selenium does not provide methods to get the current value of implicit timeout. From the other side, we don't want to set timeout every time even if it has been already set with the same value

Copy link
Contributor

Choose a reason for hiding this comment

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

make it private

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@paveliam paveliam left a comment

Choose a reason for hiding this comment

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

Make getter for ImplicitTimeout private

@paveliam paveliam merged commit 9d30d21 into master Aug 14, 2019
@paveliam paveliam deleted the refactoring/methods-refactoring branch August 14, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants