no, regex is not supported within locators here you'll find a samples for supported xpath constructs. maybe you can use wildcards, and, or, ... in your locators to achieve your goal. and of course you can concatenate strings to build your locators. if your regex is the result of a regex operation (as sTarget in this sample ) you can write BrowserWaitForProperty("//div[@textContents='" + regex +"']", "text", "regex", 10000); cheers, udo
↧