CDP Mode is a special mode within UC Mode. Activated separately. Return True if CDP Mode is loaded in the driver. False otherwise.
(self)
| 284 | ) |
| 285 | |
| 286 | def is_cdp_mode_active(self): |
| 287 | """CDP Mode is a special mode within UC Mode. Activated separately. |
| 288 | Return True if CDP Mode is loaded in the driver. False otherwise.""" |
| 289 | return ( |
| 290 | hasattr(self.driver, "_is_using_cdp") |
| 291 | and self.driver._is_using_cdp |
| 292 | ) |
| 293 | |
| 294 | def js_click(self, *args, **kwargs): |
| 295 | return page_actions.js_click(self.driver, *args, **kwargs) |
no outgoing calls
no test coverage detected