fix: return iframeSelector if present
This commit is contained in:
@@ -16,7 +16,8 @@ export const getBestSelectorForAction = (action: Action) => {
|
||||
|
||||
if (selectors?.iframeSelector?.full) {
|
||||
return selectors.iframeSelector.full;
|
||||
|
||||
}
|
||||
|
||||
if (selectors?.shadowSelector?.full) {
|
||||
return selectors.shadowSelector.full;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user