-
Notifications
You must be signed in to change notification settings - Fork 9
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
Browser manager support #16
Conversation
47da20c
to
9984bb2
Compare
NOTE: Firefox does support this feature, but it doesn't work on GitHub Actions (reason unknown). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
var elem = browser.Single("#span"); | ||
elem.Single("///***-*///@@##@šš+š++++---><<>''", By.XPath); | ||
}); | ||
throw new System.Exception("SelectMethod_InvalidXPathSelector_ExpectedException was supposed to fail!!!"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not really make sense to me 😅 , did you intend to use Assert.Throws?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assert.Throw<> checks for specific exception. The mistake is incorrect place of the throw new exc...
. I have corrected it.
Selenium.WebDriver is distributed with browser manager since version 4.11. Browser manager makes sure that driver and browser are compatible and therefore the tests are not failing due to incompatibility of underlaying testing platform. In addition, browser manager is able to download webdrivers and browsers binaries (CfT).