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

Find-Product fails if ID is a subset of several matches #15

Closed
chudkins opened this issue Jan 14, 2019 · 1 comment
Closed

Find-Product fails if ID is a subset of several matches #15

chudkins opened this issue Jan 14, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@chudkins
Copy link
Owner

For example, searching for "ABC Widget" you get back "ABC Widget" but also "ABC Widget Press" and "ABC Widgetator"; in this case no product is found.

@chudkins chudkins added the bug Something isn't working label Jan 14, 2019
@chudkins chudkins self-assigned this Jan 14, 2019
@chudkins
Copy link
Owner Author

Fixed. Selenium throws NoSuchElementException if nothing is found, but in this case it's just fine if one row of the table doesn't have an exact match. Added catch to handle this exception and keep moving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant