BrowserSteps - Dont highlight elements that are the full page width (body, wrappers etc)

This commit is contained in:
dgtlmoon
2023-05-15 10:43:33 +02:00
parent dd87912c88
commit 367dec48e1

View File

@@ -162,7 +162,9 @@ $(document).ready(function () {
) {
// There could be many elements here, record them all and then we'll find out which is the most 'useful'
// (input, textarea, button, A etc)
possible_elements.push(item);
if (item.width < xpath_data['browser_width']) {
possible_elements.push(item);
}
}
});