Follow-up from review: https://phabricator.services.mozilla.com/D196740#inline-1093389. Might be useful to add `isInstance` assertion method to [Assert.sys.mjs](https://searchfox.org/mozilla-central/source/remote/shared/webdriver/Assert.sys.mjs) to validate if an asserted argument is an instance of a certain class.
Bug 1870880 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Follow-up from review: https://phabricator.services.mozilla.com/D196740#inline-1093389. Might be useful to add `isInstance` assertion method to [Assert.sys.mjs](https://searchfox.org/mozilla-central/source/remote/shared/webdriver/Assert.sys.mjs) to validate if an asserted argument is an instance of a certain class. It should be used only for classes which have `isInstance` method implemented, and this method should be used for assertion.