cdp.is_element_visible(selector) is only checking for DOM presence instead of visibility
We want the DOM presence check for cdp.is_element_present(selector),
but we want an actual visibility check for cdp.is_element_visible(selector).
DOM presence and visibility are not the same.
This also affects CDP methods that call cdp.is_element_visible(selector).