getProperty() Method Implemented#52
Merged
vimscientist69 merged 3 commits intomasterfrom Aug 13, 2025
Merged
Conversation
written integration tests, tests passed as expected
…ve value of an element property by using JavaScript Selenium WebDriver API does note have a way to get the live value of an attribute, like an updated value of an input element. The only way to get the live value would be to use JavaScript. That is what the `getProperty()` method does. Integration tests written for this method, and passed as expected.
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.
Reason
Reason for creating this pull request: fixes #51
Tech Details List
DriverandWebDriverprotocols to have agetProperty()method with element and property name arguments.getProperty()method forChromeDriver, using theexecute()method to get the property value using JavaScriptgetProperty()method; by first setting an attribute to a new value and then getting the new value withgetProperty()and checking if the value is the same as what it has been set to withsetAttribute()Tasks:
DriverandWebDriverprotocols to have agetProperty()method with element and property name arguments.getProperty()method forChromeDriver, using theexecute()method to get the property value using JavaScriptgetProperty()method; by first setting an attribute to a new value and then getting the new value withgetProperty()and checking if the value is the same as what it has been set to withsetAttribute()Un-important tasks:
Links:
ISSUE-51
closes/resolves #51
Testing
Steps:
TESTING-QAOutput:
Testing QA
Make sure to run all required services for integration tests with docker-compose before running the integration tests.