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

Able to get IWebElement, but I am not able to get IWebElements #9

Closed
manikumarnune123 opened this issue Sep 7, 2022 · 2 comments
Closed

Comments

@manikumarnune123
Copy link

Currently I am using below code to get a single web element which is equivalent to driver.FindElement(), is there a way to get a array of web elements equivalent to driver.FindElements()

[FindsBy(How=How.Id,Using = "twotabsearchtextbox")]
private IWebElement _searchInputBox;

@Dreamescaper
Copy link
Owner

You can use IList<IWebElement> property type.

@manikumarnune123
Copy link
Author

@Dreamescaper Yes, it's working. Thanks for the answer and for the nuget. Do you have any link where I can learn about this whole repo Attributes, Properties and Methods? I will close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants