I'm writing a protractor test which asserts a URL against two different browser URLs.
I tried using toMatch
with a regular expression but I get an error.
Is it possible to assert an actual string value against 2 or more expected string values and see if it is equal to any of them?
expect(url1).toMatch(/this.url|www.google.com/);