We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c1285c commit 56acdaaCopy full SHA for 56acdaa
packages/selenium-ide/src/content/targetSelector.js
@@ -17,6 +17,14 @@
17
18
// Modified in tools.js from selenium-IDE
19
20
+export function exactMatchPattern(string) {
21
+ if (string != null && (string.match(/^\w*:/) || string.indexOf("?") >= 0 || string.indexOf("*") >= 0)) {
22
+ return "exact:" + string;
23
+ } else {
24
+ return string;
25
+ }
26
+}
27
+
28
function TargetSelector(callback, cleanupCallback) {
29
this.callback = callback;
30
this.cleanupCallback = cleanupCallback;
0 commit comments